pTAL Reference Manual (H06.08+)

Equivalenced Variables
HP pTAL Reference Manual523746-006
11-27
Equivalenced Simple Pointer
Equivalenced Simple Pointer
The equivalenced simple pointer declaration associates a simple pointer with a location
relative to the base address of the system global ('SG') or the extended system global
('SGX') data area.
type
is any data type except UNSIGNED and specifies the data type of the value to
which the pointer points.
.EXT
.SG
.SGX
are indirection symbols (see Table 2-7 on page 2-7).
identifier
is the identifier of a simple pointer to be made equivalent to 'SG'.
'SG'
denotes a 16-bit system global address.
index
is an INT constant that specifies the offset of the element in previous-ident to
which the equivalenced pointer or variable refers. Specify index only with direct
variables. index must end on a word (16-bit) boundary.
.SGX
identifier
= 'SG'
.SG
.EXT
type
[
+
-
offset
index
]
;
,
VST704.vsd