TAL Reference Manual
Privileged Procedures
TAL Reference Manual—526371-001
15-11
Functions for Privileged Operations
Functions for Privileged Operations
The following privileged functions perform operations that are restricted to procedures
running in privileged mode:
The following pages describe each privileged standard function in alphabetic order.
$AXADR Function
The $AXADR function returns an absolute extended address.
variable
is the identifier of a simple variable, pointer, array element, structure, or structure
data item.
Usage Considerations
$AXADR converts a standard or relative extended address to an absolute extended
address. 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.
Example of $AXADR Function
This example converts the standard address of INTR to an absolute extended address:
PROC myproc PRIV;
BEGIN
STRING .EXT str;
INT intr;
!Lots of code
@str := $AXADR (intr);
!More code
END;
Standard Function Operation
$AXADR Converts a standard address or a relative extended
address to an absolute extended address
$BOUNDS Checks the locations of parameters passed to system
procedures
$SWITCHES Returns the current setting of the switch register
VST1507.vsd
)
variable
$AXADR
(