pTAL Reference Manual (H06.03+)
Language Elements
HP pTAL Reference Manual—523746-005
2-7
Base Address Symbols
Base Address Symbols
Base address symbols let you declare pointers to specific data segments.
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 2-6. Base Address Symbols
Symbol Description
'P' P-register addressing (read-only array
declaration)
'SG' Define base address equivalencies, system global space (privileged
procedures only)
'SGX' References data in the system data segment.
Table 2-7. Indirection Symbols
Symbol Declares ...
. (period)
•
An array or structure as having standard direct addressing
•
A simple pointer or structure pointer
.EXT
•
An array or structure as having extended addressing
•
An extended (32-bit) simple pointer or structure pointer
.SG A standard (16-bit) system global pointer
.SGX An extended (32-bit) system global pointer










