TAL Reference Manual
Language Elements
TAL Reference Manual—526371-001
2-7
Indirection Symbols
Indirection Symbols
Indirection symbols let you use indirect addressing to save space in limited storage
areas, as described in the TAL Programmer’s Guide. Indirect addressing requires two
memory references, first to a location that contains an address and then to the data
located at the address. Table 2-6 lists indirection symbols.
Base Address Symbols
Base address symbols let you associate variables with locations relative to the base
address of a storage area, such as the global, local, or sublocal areas of the user data
segment. Table 2-7 lists base address symbols.
The TAL Programmer’s Guide describes the storage areas of the user data segment.
Delimiters
Delimiters are symbols that begin, end, or separate fields of information. Delimiters tell
the compiler how to handle the fields of information. Table 2-8 on page 2-8 lists
delimiters.
Table 2-6. Indirection Symbols
Symbol Meaning
. (period) Declares an array or structure as having standard (16-bit) indirect addressing
Declares a standard (16-bit) simple pointer or structure pointer
.EXT Declares an array or structure as having extended (32-bit) indirect addressing
Declares an extended (32-bit) simple pointer or structure pointer
.SG Declares a standard (16-bit) system global pointer
Table 2-7. Base Address Symbols
Symbol Meaning
‘P’ P-register addressing (read-only array declaration)
‘G’ Base-address equivalencing, global user data area
‘L’ Base-address equivalencing, local user data area
‘S’ Base-address equivalencing, sublocal user data area
‘SG’ Base address equivalencing, system global space (privileged
procedures only)