pTAL Reference Manual (H06.08+)
Built-In Routines
HP pTAL Reference Manual—523746-006
15-26
$AXADR
$AXADR
$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.
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.
$BADDR_TO_EXTADDR
$BADDR_TO_EXTADDR converts a BADDR address to an EXTADDR address.
Note. The EpTAL compiler does not support this routine. (The EpTAL compiler does allow
$AXADR as a DEFINE
name.)
pTAL privileged procedure Yes
Can be executed only by privileged procedures Yes
Sets condition code No
Sets $CARRY No
Sets $OVERFLOW No
Example 15-12. $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;
( )$AXADR
VST116.vsd
variable
expression
( )
VST683.vsd
$BADDR_TO_EXTADDR










