Predefined macros – Zilog ZUSBOPTS User Manual
Page 198

Predefined Macros
UM017105-0511
170
Zilog Developer Studio II – ZNEO™
User Manual
All data are aligned on a byte boundary.
Alignment of 16- or 32-bit objects on even boundaries is a possible future en-
hancement. Avoid writing code that depends on how data are aligned.
Predefined Macros
The ZNEO C-Compiler comes with the following standard predefined macro names:
None of these macro names can be the subject of a
#define
or a
#undef
preprocessing
directive. The values of these predefined macros (except for
__LINE__
and
__FILE__
)
remain constant throughout the translation unit.
The following additional macros are predefined by the ZNEO C-Compiler:
_Near pointer
16 bits
_Far pointer
32 bits
_Rom pointer
16 bits
_Erom pointer
32 bits
__DATE__
This macro expands to the current date in the format “Mmm dd yyyy” (a
character string literal), where the names of the months are the same
as those generated by the asctime function and the first character of
dd is a space character if the value is less than 10.
__FILE__
This macro expands to the current source file name (a string literal).
__LINE__
This macro expands to the current line number (a decimal constant).
__STDC__
This macro is defined as the decimal constant 1 and indicates confor-
mance with ANSI C.
__TIME__
This macro expands to the compilation time in the format “hh:mm:ss” (a
string literal).
Caution: