TAL Reference Manual
Data Representation
TAL Reference Manual—526371-001
3-2
Data Types
Table 3-1 gives information about each data type.
Table 3-1. Data Types
Data Type Storage Unit
Kind of Values the Data type can
Represent
STRING Byte An ASCII character
An 8-bit integer in the range 0 through
255 unsigned
INT Word One or two ASCII characters
A 16-bit integer in the range 0 through
65,535 (unsigned) or –32,768 through
32,767 (signed)
A standard (16-bit) address (0 through
65,535)
INT (32) Doubleword A 32-bit integer in the range –
2,147,483,648 through +2,147,483,647
An extended (32-bit) address (0
through 127.5K)
UNSIGNED n-bit field* UNSIGNED(1–15) and
UNSIGNED(17–31) can represent a
positive unsigned integer in the range 0
through (2 n –1)
UNSIGNED(16) can represent an
integer in the range 0 through 65,535
unsigned or –32,768 through 32,767
signed; it can also represent a standard
address
FIXED Quadrupleword A 64-bit fixed-point number; For
FIXED(0) and FIXED (*), the range is –
9,223,372,036,854,775,808 through
+9,223,372,036,854,775,807.
REAL Double word A 32-bit floating-point number in the
range ±8.6361685550944446E–78
through ±1.15792089237316189E77
precise to approximately 7 significant
decimal digits
REAL (64) Quadrupleword A 64-bit floating-point number in the
same range as data type REAL but
precise to approximately 17 significant
decimal digits
* For an UNSIGNED simple variable, the bit field can be 1 to 31 bits wide.
* For an UNSIGNED array, the element bit field can be 1, 2, 4, or 8 bits wide.