Infineon Technologies C166S V2 User Manual page 69

16-bit microcontroller
Table of Contents

Advertisement

The C166S V2 CPU data formats are able to support all ANSI C data types. Additional
to the ANSI C data types, some C-Compilers support new types that allow efficient use
of the bit manipulation instructions in embedded control applications.. .
Table 2-10
ANSI C Data Types
ANSI C Data Types Size (bytes) Range
bit
sfrbit
esfrbit
signed char
unsigned char
sfr
esfr
signed short
unsigned short
bitword
signed int
unsigned int
signed long
unsigned long
float
double
long double
near pointer
far pointer
User Manual
1 bit
0 or 1
1 bit
0 or 1
1 bit
0 or 1
1
-128 to +127
1
0 to 255U
1
0 to 65535U
1
0 to 65535U
2
-32768 to 32767
2
0 to 65535U
2
0 to 65535U
2
-32768 to 32767
2
0 to 65535U
4
-2147483648 to
+2147483647
4
0 to 4294967295UL Not directly supported
4
+/-1,176E-38 to
+/-3,402E+38
8
+/- 2,225E-308 to
+/- 1,797E+308
8
+/- 2,225E-308 to
+/- 1,797E+308
2
16/14 bits
depending on
memory model
4
14 bits (16 k) in any
page
CPU Data Format
BIT
BIT
BIT
BYTE
BYTE
WORD
WORD
WORD
WORD
WORD or BIT
WORD
WORD
Not directly supported
Not directly supported
Not directly supported
Not directly supported
WORD
Not directly supported
2-69
User Manual
C166S V2
Central Processing Unit
V 1.7, 2001-01

Advertisement

Table of Contents
loading

Table of Contents