data formats Technical Information data formats
Mark Williams Company has written C compilers for a number of
different computers. Each has a unique architecture and defines
data formats in its own way.
The following table gives the sizes, in chars, of the data types
as they are defined by various microprocessors.
i8086 i8086
Type SMALL LARGE Z8001 Z8002 68000 PDP11 VAX
char 1 1 1 1 1 1 1
double 8 8 8 8 8 8 8
float 4 4 4 4 4 4 4
int 2 2 2 2 2 2 4
long 4 4 4 4 4 4 4
pointer 2 4 4 2 4 2 4
short 2 2 2 2 2 2 2
COHERENT places some alignment restrictions on data, which con-
form to all restrictions set by the microprocessor. Byte or-
dering is set by the microprocessor; see the Lexicon entry on
byte ordering for more information.
***** See Also *****
byte ordering, C language, data types, double, float, memory
allocation, technical information
***** Notes *****
The COHERENT system supports Intel SMALL model only.
COHERENT Lexicon Page 1