pTAL Reference Manual (G06.24+, H06.09+, J06.03+)
Table 13 Base Address Symbols (continued)
DescriptionSymbol
References data relative to the beginning of the Global data area (not supported by
pTAL).
'G'
References data relative to the beginning of the Procedure (not supported by pTAL).'L'
References data relative to the beginning of the Subprocedure (not supported by
pTAL).
'S'
Indirection Symbols
Indirection symbols determine the address types of variables. Use indirection symbols when declaring
formal parameters to cause them to be passed by reference (rather than by value).
Table 14 Indirection Symbols
Declares ...Symbol
. (period)
• An array or structure as having standard direct addressing
• A simple pointer or structure pointer
.EXT
• An array or structure as having extended 32-bit addressing
• An extended (32-bit) simple pointer or structure pointer
.EXT32
*
• An array or structure as having extended 32-bit addressing
• An extended (32-bit) simple pointer or structure pointer
.EXT64
*
• An array or structure as having extended 64-bit addressing
• An extended (64-bit) simple pointer or structure pointer
A standard (16-bit) system global pointer.SG
An extended (32-bit) system global pointer..SGX
*
These indirection symbols are available in the 64-bit addressing functionality added to the EpTAL compiler starting
with SPR T0561H01^AAP. For more information, see Appendix E, “64-bit Addressing Functionality” (page 531).
Declarations
Declarations allocate storage and associate identifiers with declarable objects in a program; that
is:
• Variables
• LITERALs and DEFINEs (see Chapter 6 (page 97))
• Procedures (see Chapter 14 (page 246))
• Labels (see Labels in Procedures (page 273))
• Entry points (see Entry-Point Declarations (page 260))
Topics:
• Identifiers (page 42)
• Variables (page 43)
• Scope (page 43)
Indirection Symbols 41