TAL Reference Manual

Equivalenced Variables
TAL Reference Manual526371-001
10-13
Example of Base-Address Equivalenced Simple
Variable Declaration
Example of Base-Address Equivalenced Simple Variable
Declaration
The following example declares an INT simple variable equivalent to an 'L'-relative
base address:
INT var1 = 'L'[5];
INT(32) var2 = 'G'[10];
Base-Address Equivalenced Simple Pointer
A base-address equivalenced simple pointer declaration associates a new simple
pointer with a global, local, or top-of-stack base address.
type
is any data type except UNSIGNED.
. (period)
is the standard indirection symbol and denotes a standard (16-bit) pointer.
.EXT
is the extended indirection symbol and denotes an extended (32-bit) pointer.
identifier
is the identifier of a simple pointer to be made equivalent to base-address.
VST1013.vsd
=
[
index
]
+
offset
-
;
,
base-addressidentifier
type
.
.EXT