TAL Reference Manual
Privileged Procedures
TAL Reference Manual—526371-001
15-4
'SG'-Equivalenced Variable Declarations
'SG'-Equivalenced Variable Declarations
'SG' equivalencing associates a global, local, or sublocal identifier with a location that
is relative to the base address of the system global area. You can declare the following
kinds of 'SG'-equivalenced variables:
•
'SG'-equivalenced simple variable
•
'SG'-equivalenced structure
•
'SG'-equivalenced simple pointer
•
'SG'-equivalenced structure pointer
'SG'-Equivalenced Simple Variable
The 'SG'-equivalenced simple variable declaration associates a simple variable with a
location that is relative to the base address of the system global data area.
type
is any data type except UNSIGNED and specifies the data type of identifier.
identifier
is the identifier of a simple variable to be made equivalent to 'SG'.
'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.
VST1502.vsd
'SG'
type
identifier
;
,
[
index
]
+
offset
-
=