gpasm doesn't support the enhanced 14-bit instructions at all. Joseph did send a patch to this list some time ago to support it, but the parser/lexer gave compile warnings and it looked like it might mess up other things, so I didn't pull it into the mainline. Incidentally, the parser/lexer are horrible to work with, so it's no small task to get rid of the warnings, and I'm not doing any work on gputils anymore.
You should be able to patch and compile to get it running. If you need new features from gputils and the patch won't apply anymore, try getting it from SVN, svn update to an older version, apply the patch, and SVN update back to the latest. I know it's a pain, but hopefully it'll get you through.
----- Original message -----
> Thanks Joseph
> So, the 16f1933 has the enhanced instruction set but the current
> version of gpasm does not seem to recognize it (I only tried
> the BRA instruction for a quick test). In the absence of an option
> to to pull in the extra instructions (I tried the -y option) I suppose
> I need the old version. I see a thread back in June 2008 that
> mentions the PIC 16 architecture but it doesn't seem to give
> instructions on how to use it.
> If I use an old version of gpasm, presumably it wont recognize the
> 16f1933. So, what is the procedure for getting it to emit the
> enhanced code?
> I'm using Debian.
> Thanks again
> Joseph.Julicher@... wrote:
> > I added the enhanced instruction set to GPASM 2 years ago when we were
> > defining the instruction set. I passed the modifications on to the
> > list.
> > I can provide the version (old) of GPASM that we used to generate code
> > for the chip simulations.
> > Joseph Julicher
> > Applications Manager
> > Microchip Technology, Inc.
> > -----Original Message-----
> > From: Roger Dellor [mailto:roger@...]
> > Sent: Friday, February 12, 2010 2:23 PM
> > To: gnupic@... > > Subject: Status on enhanced 14-bit instruction set
> > I'm beginning to write assembler code for the p16f1827 (and new to this
> > list). I have version 0.13.7, which I believe is the latest, and it
> > does not
> > support this part. So, to get started, I'm pretending that I have a
> > 16f1933, and modifying the 16f1933.inc file to reflect the 1827. If I
> > can't
> > get a 16f1827.inc file from Microchip - the request is pending - I can
> > write
> > my own, but gpasm does not appear to recognize the enhanced
> > instruction set which I would like to use.
> > So, if I'm not doing something wrong, does anyone know when gpasm
> > will support the extra instructions in the enhanced instruction set.
> > Thanks
> > Roger
> cell 650 823-5307
> home 650 969-8227
> e-mail roger@... >
> To unsubscribe, e-mail: gnupic-unsubscribe@... > For additional commands, e-mail: gnupic-help@... >