TMS34010
C
Language
-
Data
Types
Structures, unions, and enumerations
are
not
considered derived types
for
the
purposes
of
these limits.
An additional constraint
is
that
the derived type cannot contain more than
three array derivations. Note that each dimension in a multidimensional array
is
a separate array derivation; thus, arrays
are
limited
to
three dimensions in
any type definition. However, types can be combined using typedefs
to
pro-
duce any dimensioned array.
For example, the
following
construction declares x
as
a four-dimensional ar-
ray:
txpedef
int
dim2[]
[]i
d~m2
x[]
[]
i
K&R
2.6
-
Summary
of
TMS34010
Data
Types
Type
Size
char 8 bits, signed ASCII
unsigned char
8 bits,
ASCII
short
16
bits
unsigned short 16 bits
int
32 bits
unsigned int
32 bits
long
32 bits
unsigned
long
32 bits
pointers
32 bits
float
32 bits
Range:
+ 5.88 x 1
O(
-39) through
±1.70
x 10
38
double 64 bits
Range:
+ 1.11 x 1
O(
-308) through
± 8.99 x 10
308
enum
1-32
bits
4-5