pTAL Reference Manual (G06.24+, H06.09+, J06.03+)
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.
+, -
is the word or byte offset, relative to the base of previous-ident, where the equivalenced
variable is placed. For example, if a and b are declared:
INT a[0:9];
INT b = a+5
then b is placed at a[5].
offset
an equivalent INT values in the range 0 through 63.
Example 138 Equivalenced Simple Pointer Declaration
INT .ptr = 'SG' + 2;
Equivalenced Structure Pointer
The equivalenced structure pointer declaration associates a structure pointer with a location relative
to the base address of the system global (.SG) or the extended system global (SGX) data area.
STRING
is the STRING attribute.
INT
is the INT attribute.
Indirection
., .EXT, .EXT32, .EXT64, .SG, and .SGX are indirection symbols (see Table 14 (page 41)).
identifier
is the identifier of a structure pointer to be made equivalent to 'SG'.
System Global Equivalenced Variable Declarations 197