| ??? 08/19/02 09:18 Read: times |
#27494 - RE: C compiler for 8051/52 |
Jon
Yes, that is correct. As stated in the manual, uC/51 currently does not have 'printf()' optimisation and customized 'startup()': 1.) 'printf()': If the KEIL finds a 'printf()' it analyzes the format string and will replace the user's 'printf()' by something more simple if possible. 2.) Some other 'high end compilers' (if the KEIL does this, I don't know), generate a customized 'startup()' function, instead of using it from the standard library. This may save up to 200 bytes sole.. Please you consider this. To 1.) 'printf()' is a very large function and uC/51 uses it in a very flexible way (i. e. writing an own 'lcd_printf()' or an 'irda_printf()' will cost you only 5 lines of C (and a low level char-driver...) as stated in the manual.. To 2.) This will follow. If you get problems with the space, even now it is possible to link a manually taylored 'startup()'. Jürgen |
| Topic | Author | Date |
| C compiler for 8051/52 | 01/01/70 00:00 | |
| RE: C compiler for 8051/52 | 01/01/70 00:00 | |
| RE: C compiler for 8051/52 | 01/01/70 00:00 | |
| RE: C compiler for 8051/52 | 01/01/70 00:00 | |
| RE: C compiler for 8051/52 | 01/01/70 00:00 | |
| RE: C compiler for 8051/52 | 01/01/70 00:00 | |
| RE: C compiler for 8051/52 | 01/01/70 00:00 | |
| RE: C compiler for 8051/52 | 01/01/70 00:00 | |
| RE: C compiler for 8051/52 | 01/01/70 00:00 | |
| RE: C compiler for 8051/52 | 01/01/70 00:00 | |
| RE: C compiler for 8051/52 | 01/01/70 00:00 | |
| RE: C compiler for 8051/52 | 01/01/70 00:00 | |
| RE: C compiler for 8051/52 | 01/01/70 00:00 | |
| RE: C compiler for 8051/52 | 01/01/70 00:00 | |
RE: C compiler for 8051/52, Ralf | 01/01/70 00:00 |



