pTAL Reference Manual (G06.24+, H06.09+, J06.03+)

YespTAL privileged procedure
YesCan be executed only by privileged procedures
NoSets condition code
NoSets $CARRY
NoSets $OVERFLOW
variable
is the identifier of a simple variable, pointer, array element, structure, or structure data item.
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 234 $AXADR Routine
PROC myproc PRIV;
BEGIN
STRING .EXT str;
INT intr;
! Lots of code
@str := $AXADR (intr); ! Convert standard address of intr
! to an absolute extended address
!More code
END;
$BADDR_TO_EXTADDR
$BADDR_TO_EXTADDR converts a BADDR address to an EXTADDR address.
NopTAL privileged procedure
NoCan be executed only by privileged procedures
YesSets condition code
NoSets $CARRY
NoSets $OVERFLOW
expression
is an expression whose value is a BADDR address.
Example 235 $BADDR_TO_EXTADDR Routine
STRING .EXT s;
STRING t;
@s := $BADDR_TO_EXTADDR(@t); ! @t is a BADDR address
$BADDR_TO_WADDR
$BADDR_TO_WADDR converts a BADDR address to a WADDR address.
294 Built-In Routines