gnupic: Re: [gnupic] gpal examples
Subject:
Re: [gnupic] gpal examples
From:
"Gordon Williams" ####@####.####
Date:
10 May 2005 19:14:53 +0100
Message-Id: <001a01c5558c$972e8d40$0200a8c0@amd950>
>Are there specific problems or features you need from JAL?
Need is a bit strong. Data types other than bit and unsigned8 would be
nice. gpal didn't support bit types last time I looked and IMHO that is a
prerequisite.
JAL has a number of quirks which can be worked around. Things like s = -s
gives the wrong answer and s = 0 - s doesn't produce any asm code at all (it
is eliminated). There are several bugs like this and although many people
use JAL no one has fixed anything for a few years. From a maintenance point
of view it is dead.
I know you have been working on linking. Pic programs are small, and based
on JAL, compile time of source + libraries is negligible, so speed is not an
issue. Relocating code may be of potential use, but I don't see anywhere
where I would use it. My usual method of operation is create an asm file
using JAL, use my own program to remove the unneeded PCLATHs to shrink the
code by 30%, load into mplab, simulate and then assemble. I'm happy with
absolute mode as far as I know.
All the best,
Gordon Williams