Zilog EZ80F916 User Manual
Page 87
UM014423-0607
Using the Integrated Development Environment
ZiLOG Developer Studio II
eZ80Acclaim!
®
User Manual
67
Figure 52. Advanced Page of the Project Settings Dialog Box
Generate Printfs Inline
Normally, a call to
printf()
or
sprintf()
parses the format string at run time to gener-
ate the required output. When the Generate Printfs Inline check box is selected, the format
string is parsed at compile time, and direct inline calls to the lower level helper functions
are generated. This results in significantly smaller overall code size because the top-level
routines to parse a format string are not linked into the project, and only those lower level
routines that are actually used are linked in, rather than every routine that could be used by
a call to
printf
. The code size of each routine that calls
printf()
or
sprintf()
is
slightly larger than if the Generate Printfs inline check box is deselected, but this is more
than offset by the significant reduction in the size of library functions that are linked to
your application.