TAL Reference Summary
Data Types
TAL Reference Summary
096256 Tandem Computers Incorporated 11
Data Type Aliases The compiler accepts the following aliases for the listed data types:
Data Type Alias
INT INT(16)
REAL REAL(32)
FIXED(0) INT(64)
Storage Units Storage units are the containers in which you can access data stored in memory. The
system fetches and stores all data in 16-bit words, but you can access data as any of the
following storage units:
Storage Unit Number of Bits Data Type Description
Byte 8 STRING One of two bytes that make up a word
Word 16 INT Two bytes, with byte 0 (most
significant) on the left and byte 1 (least
significant) on the right
Doubleword 32 INT(32), REAL Two contiguous words
Quadrupleword 64 REAL(64), FIXED Four contiguous words
Bit field 1–16 UNSIGNED Contiguous bit fields within a word
Bit field 17–31 UNSIGNED Contiguous bit fields within a
doubleword
In TAL, a word is 16 bits regardless of the word size used by the system hardware.