From: Maarten B. <sou...@ds...> - 2017-02-21 11:32:07
|
Hello Chris, What exactly are you referring to when you say pic12. AFAIK Microchip created quite some confusion about what a pic14 is, by naming the architecture pic14 and many (most?) of its devices PIC12Fxxxx. And the pic16 architecture mostly uses PIC18Fxxxx. I know practically nothing about pic, but I wonder if you maybe stepped into this pitfall. Please correct me if I am totally wrong. Maarten > Pic12 is not difficult, reentrant, recursive function calls , longjmp , > varargs and floating point simply don't work. Further function arguments > are limited. > Regression test need special pic variant with more ram in order to fulfill > basic testing. > Pic13 need reentrance for interrupts, saving used args to dedicated ram > locations. Further static or global write variable bigger as byte is > problematic as operations are not atomic inside reentrant functions. > > Il 21 febbraio 2017 09:40:22 CET, Philipp Klaus Krause <pk...@sp...> ha > scritto: >>Am 21.02.2017 um 09:22 schrieb Chris: >>> Is there interest in pic12/13 bit backend ? >> >>If someone writes it and maintains it, that's fine. >>I added quite a few backends to SDCC myself, but do not know how much >>effort a pic12/pic13 backend would be. >> >>Currently the pic14 and pic16 backend are considered "in development", >>not stable. Many regression tests that pass for the other backends >>still >>fail for pic14 and pic16. >> >>Philipp >> >> >>------------------------------------------------------------------------------ >>Check out the vibrant tech community on one of the world's most >>engaging tech sites, SlashDot.org! http://sdm.link/slashdot >>_______________________________________________ >>sdcc-devel mailing list >>sdc...@li... >>https://lists.sourceforge.net/lists/listinfo/sdcc-devel > > -- > Inviato dal mio dispositivo Android con K-9 Mail. Perdonate la > brevità .------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! > http://sdm.link/slashdot_______________________________________________ > sdcc-devel mailing list > sdc...@li... > https://lists.sourceforge.net/lists/listinfo/sdcc-devel > |