Supported new features from the 1999 standard, Type sizes – Zilog EZ80F916 User Manual
Page 167

UM014423-0607
Using the ANSI C-Compiler
ZiLOG Developer Studio II
eZ80Acclaim!
®
User Manual
147
BLUE,
INVALID
} char color;
enum
{
NEW= 0,
OPEN,
FIXED,
VERIFIED,
CLOSED
} short status;
void main(void)
{
if (color == RED)
status = FIXED;
else
status = OPEN;
}
Supported New Features from the 1999 Standard
The eZ80Acclaim! compiler implements the following new features introduced in the
ANSI 1999 standard, also known as ISO/IEC 9899:1999:
•
C++ Style Comments
Comments preceded by
//
and terminated by the end of a line, as in C++, are
supported.
•
Long Long Int Type
The
long long int
type is allowed. (In the eZ80Acclaim! C-Compiler, this type is
treated as the same as
long
, which is allowed by the standard.)
TYPE SIZES
The type sizes for basic data types on the eZ80Acclaim! C-Compiler are as follows:
int
24 bits
short int
16 bits
char
8 bits
long
32 bits
float
32 bits
double
32 bits