Hi list. I'm new in the 8051 world and I'm moving from Pic Micro. I have 
some questions about the options of SDCC.The first is: Why the code 
generate is a litle bigger than other compilers? I think I don't using 
the right options of the compiler. But I don't know what can I do.
I'm using a Dallas DS89C430, whitout external memory, yust a uC and the 
crystal. When compile, use:
sdcc --xram-size 0 --code-size 0x3FFF --iram-size 128 mysource.c
When compile, load the ihx file with boot loader and run. But, the 
question is: The options pass to sdcc are right? There are other options 
to minimize code diferent from the optimizer options? The ihx include 
debug information?

Other question, some compilers have a litle option to make inline 
functions, this is, the function exist in the code but the binary file 
generated replace the called function with the real code of the funtion. 
With this is easy make functions to use hardware device like a timers 
without add all code needed for the standar functions. SDCC have 
something like that? I view and test the _naked function but is not the 
same, with the _naked option the function code is put in other memory 
space and the "call" is needed to access the functions, this add some 
code. With the inline functions, the call to the function is repleace 
with the real code of the function. Is made yust for make the code more 
easy to read.

Thank's


Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to