Re: Status on enhanced 14-bit instruction set

David <[email protected]> Fri, 12 Feb 2010 20:18:26 -0500
Newsgroups gmane.comp.hardware.microcontrollers.gnupic
Message-ID <1266023907.6905.6.camel@frankie>
If you do go that route and have any questions about what specific commands to run, feel free to email me directly.

I doubt anyone's working on implementing it right now, but I'm not sure. I haven't been a gputils *user* for some time (haven't used PICs lately), so I don't develop on it anymore.

David

----- Original message -----
> 
> David
>
> Thanks.  This sounds complicated - beyond my experience level.
>
> If nothing else materializes I might give it a try.  The 16f1xxx parts
> seem to be accepted and becoming mainstream so presumably
> gpasm will need to support them.  Do you know if anyone is
> working on it.
>
> Thanks
>
> Roger
>
> David wrote:
> > 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.
> >
> > David
> >
> > ----- 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
> > >
> > > Roger
> > >
> > > [email protected] 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:[email protected]]
> > > > Sent: Friday, February 12, 2010 2:23 PM
> > > > To: [email protected]
> > > > 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 [email protected]
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [email protected]
> > > For additional commands, e-mail: [email protected]
> > >
> > >       
> >
> >
> >   
>
> --
>
>
> cell    650 823-5307
> home    650 969-8227
> e-mail [email protected]
>