beautypg.com

Zilog Z8F0130 User Manual

Page 236

background image

Using the ANSI C-Compiler

UM013037-1212

212

Zilog Developer Studio II – Z8 Encore!
User Manual

__AUS_SIZED_BY_TYPE__

Defined on all Zilog compilers and set to 0
or 1 as to whether the size of a bitfield
depends on the type(s) of the bitfield
members.

__BACKWARD_COMPATIBLE_BITFIELDS_
_

Defined on all Zilog compilers and set to 0
or 1 as to whether the implementation of
bitfields is compatible with that used before
January 2007.

__BITFIELDS_OVERLAP_AUS__

Defined on all Zilog compilers and set to 0
or 1 as to whether a bitfield member that
requires more bits than remains in the
current byte must begin a new byte. (A 0
indicates that it does.)

__BITFIELDS_PACK_L2R__

Defined on all Zilog compilers and set to 0
or 1 as to whether bitfields back left to
right, that is, from most significant to least
significant bit.

__CONST_IN_RAM__

Defined if const objects are placed in RAM
memory.

__CONST_IN_ROM__

Defined if const objects are placed in ROM
memory.

__CPU_NAME__

Defined on all Zilog compilers and
expands to the CPU name as passed on
the compile line.

__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).

__NEW_AU_AT_TYPE_CHANGE__

Defined on all Zilog compilers and set to 0
or 1 as to whether a change in the type of
bit field members requires beginning a
new byte in the bitfield packing. (A 1
indicates that it does.)

__STDC__

This macro is defined as the decimal
constant 1 and indicates conformance with
ANSI C.