Have a look at sdcc.sf.net->wiki->SDCC internals and porting->compilation flow.
It's sketchy but maybe will help a bit. Jan Waclawek ----- Original Message --------------- >--90e6ba53a710c75c2804a164600b >Content-Type: text/plain; charset=ISO-8859-1 > >Hi All, > In order to identify assembly code output function, I have tracked the >sdcc source for a few days. > So far, what I know is that the yyparse() function parsing the c code >and the glue() function to generating the assembler code. > But,I can't figure out where the icode generated, how the c code convert >to the assembly instructions. > eg. a c code "a=b=10",where the mov instruction generated? where the >register allocation? > please help me. >Thanks in advance! > >--90e6ba53a710c75c2804a164600b >Content-Type: text/html; charset=ISO-8859-1 >Content-Transfer-Encoding: quoted-printable > >Hi All,<div>=A0 =A0 In order to identify assembly code output function, I h= >ave tracked the sdcc source for a few days.=A0</div><div>=A0 =A0 So far, wh= >at I know is that the yyparse() function parsing the c code and the glue() = >function to generating the assembler code.</div> ><div>=A0 =A0 But,I can't figure out where the icode generated, how the = >c code convert to the assembly instructions.</div><div>=A0 =A0 eg. a c code= > "a=3Db=3D10",where the mov instruction generated? where the regi= >ster allocation?=A0</div> ><div>=A0 =A0 please help me.</div><div>Thanks in advance!</div> > >--90e6ba53a710c75c2804a164600b-- > > >--===============1589345977832533712== >Content-Type: text/plain; charset="us-ascii" >MIME-Version: 1.0 >Content-Transfer-Encoding: 7bit >Content-Disposition: inline > >------------------------------------------------------------------------------ >Benefiting from Server Virtualization: Beyond Initial Workload >Consolidation -- Increasing the use of server virtualization is a top >priority.Virtualization can reduce costs, simplify management, and improve >application availability and disaster protection. Learn more about boosting >the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev >--===============1589345977832533712== >Content-Type: text/plain; charset="us-ascii" >MIME-Version: 1.0 ------------------------------------------------------------------------------ Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev _______________________________________________ Sdcc-user mailing list Sdcc-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sdcc-user