TAL Reference Manual
Equivalenced Variables
TAL Reference Manual—526371-001
10-12
Base-Address Equivalenced Simple Variable
Base-Address Equivalenced Simple Variable
A base-address equivalenced simple variable declaration associates a new simple
variable with a global, local, or top-of-stack base address.
type
is any data type except UNSIGNED.
variable
is the identifier of a simple variable to be made equivalent to base-address.
base-address
is one of the following base address symbols:
index and offset
are equivalent INT values giving a location in the following ranges:
Considerations
If you use the Common Run-Time Environment (CRE), locations G[0] and G[1] are not
available for your data (as described in the
TAL Programmer’s Guide). References to
'G', 'L', or 'S' are not portable to future software platforms.
'G' Denotes global addressing relative to G[0]
'L' Denotes local addressing relative to L[0]
'S' Denotes top-of-stack addressing relative to S[0]
0 through 255 For 'G' addressing
–255 through 127 For 'L' addressing
–31 through 0 For 'S' addressing
VST1012.vsd
=
[
index
]
+
offset
-
;
,
base-address
identifier
type