I could use some help regarding the pic16 port.
I would like to support a processor currently not included into the pic16
port (pic 18f6585). The header files for this pic can be included from
the gputils using the inc2h.pl script, but 1) it places the header files
in <sdcc>/include/pic AND the documentation makes reference to
pic18fxxxx.lib files which I am not sure were built and if so where they
would be located.
Second, using the pic16 port, do I need to use call gplink and gpasm
directly in my Makefile or can I use sdcc and --asm / -- link switches.=20
If so, how do I pass on switches to the liner or assember?
Thanks

Michael Hope schrieb:
> Hi Michael. I've had a look at the Z80 differences section in the
> Rabbit 2000 manual, and the short answer is that sdcc doesn't use any of
> the instructions removed or changed by the Rabbit designers.
>
> You should be able to run programs compiled by sdcc directly on the
> Rabbit. The next step would be to make use of the extra and enhanced
> instructions - probably by making a run-time derivative of the z80 code
> generator z80/gen.c.
Since the additions don't seem to be that important I rather suggest
improving
the generic Z80 port - there is still a lot of room for optimizations
and it requires bug fixes.
Philipp

I could use some help regarding the pic16 port.
I would like to support a processor currently not included into the
pic16 port (pic 18f6585). The header files for this pic can be included
from the gputils using the inc2h.pl script, but 1) it places the header
files in <sdcc>/include/pic AND the documentation makes reference to
pic18fxxxx.lib files which I am not sure were built and if so where they
would be located.
Second, using the pic16 port, do I need to use call gplink and gpasm
directly in my Makefile or can I use sdcc and --asm / -- link switches.
If so, how do I pass on switches to the liner or assember?

Community

Help

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

I agree to receive quotes, newsletters and other information from sourceforge.net and its partners regarding IT services and products. I understand that I can withdraw my consent at any time. Please refer to our Privacy Policy or Contact Us for more details