Thank you very much for the info.
I will take a look on it :)




On Tue, Apr 23, 2013 at 4:00 AM, feqin fan <feqin1023@gmail.com> wrote:
hi, Alberich.

I think the only  internal documentation is in the <sdcc compiler user guide> chapter 9 -  compiler internals.
maybe in the Wiki has some thing will make you surprise. But I'm in China because the Great Firewall I can't access the 
wiki, so I can't give you the hyperlink. But the wiki file name is "Michael on the register allocation stage" and Sandeep's "the register allocation story".

I only familiar with PORT PIC14, in the PORT PIC14, ralloc.c is the function that maps variables to memory, and pcode.c is the  function that insert banksel. the PIC14 bankend is amazing. but the frontend has some flaw, some similar expression will generate inconsistent iCode.

for example:
    1, RA5 = RB4 == RC3;   //the primary iCOde has 9 item
   2, RA5 = RB4 != RC3;   //the primary iCOde has 10 item

Only some personal advice.
have fun. 


2013/4/21 Alberich de megres <alberich2k5@gmail.com>
Hello list,

I'm new to SDCC, and I would like to know if there is any internal documentation aboit SDCC.
I've been playing around with the pic18f, and I would like to contribute.

To be more precise, I was wondering how SDCC maps variables to memory banks. It is something dependent on the chip (src/pic16/some.c.file) or is done in a more generic way (src/file)?

Thank you,
Alberich 

------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
sdcc-devel mailing list
sdcc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-devel




--
live long and prosper..

------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
sdcc-devel mailing list
sdcc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-devel