pTAL Conversion Guide

TAL Standard Routines
pTAL Conversion Guide527302-002
17-2
$AXADR
$AXADR
$AXADR is a privileged TAL routine for which pTAL has a privileged built-in routine
with the same name but slightly different behavior.
$AXADR converts a standard address or a relative extended address to an absolute
extended address.
variable
is the identifier of a simple variable, pointer, array element, structure, or structure
data item; otherwise:
If variable is a pointer, $AXADR returns the absolute extended address of the item
to which the pointer points, not the address of the pointer itself.
Do not depend on:
The format of the bits returned by $AXADR
An absolute address being a negative value
$BOUNDS
$BOUNDS is a privileged TAL routine for which pTAL has nothing similar.
$BOUNDS checks the address of an actual parameter passed to a reference
parameter of a system procedure. $BOUNDS prevents a system procedure from using
a pointer whose address references system data.
param
is an INT reference parameter declared in the procedure that calls $BOUNDS.
param cannot be a parameter to a subprocedure.
Note. The EpTAL compiler does not support this routine. (The EpTAL compiler does allow
$AXADR as a DEFINE name.)
TAL Compiler pTAL or EpTAL Compiler
Issues a warning Reports an error
( )$AXADR
VST116.vsd
variable
$BOUNDS ( param , count )
VST014.vsd