pTAL Reference Manual (H06.08+)

Built-In Routines
HP pTAL Reference Manual523746-006
15-94
$WADDR_TO_EXTADDR
expression
is an expression whose value is a WADDR address.
$WADDR_TO_EXTADDR
$WADDR_TO_EXTADDR converts a WADDR address to an EXTADDR address.
expression
is an expression whose value is a WADDR address.
pTAL privileged procedure No
Can be executed only by privileged procedures No
Sets condition code No
Sets $CARRY No
Sets $OVERFLOW No
Example 15-93. $WADDR_TO_BADDR Routine
STRING .s;
INT t;
@s := $WADDR_TO_BADDR(@t); ! @t is a WADDR address
pTAL privileged procedure No
Can be executed only by privileged procedures No
Sets condition code No
Sets $CARRY No
Sets $OVERFLOW No
Example 15-94. $WADDR_TO_EXTADDR Routine
STRING .EXT s;
INT t;
@s := $WADDR_TO_EXTADDR(@t); ! @t is a WADDR address
expression
( )
VST692.vsd
$WADDR_TO_EXTADDR