TAL Reference Manual

Privileged Procedures
TAL Reference Manual526371-001
15-10
Usage Considerations
.EXT
is the extended indirection symbol and denotes 32-bit addressing.
identifier
is the identifier of a structure pointer to be made equivalent to 'SG'.
referral
is the identifier of a previously declared structure or structure pointer that is to
provide the layout for
identifier.
'SG'
is the symbol that denotes the base address of the system global data area;
identifier is addressed relative to SG[0].
index and offset
are equivalent INT values in the range 0 through 63.
Usage Considerations
Table 9-3 on page 9-7 describes the kind of addresses a structure pointer can contain
depending on the STRING or INT attribute and addressing symbol.
Example of 'SG'-Equivalenced Simple Pointer
This example declares a structure that provides the structure layout for a structure
pointer and declares the structure pointer equivalent to location SG[30] in the system
global data area:
STRUCT .some_struct; !Declare structure
BEGIN
INT a;
INT b[0:5];
END;
INT .struct_ptr (some_struct) = 'SG' + 30;