pTAL Conversion Guide

pTAL Built-In Routines
pTAL Conversion Guide527302-002
18-16
$BADDR_TO_EXTADDR
$BADDR_TO_EXTADDR
$BADDR_TO_EXTADDR converts a BADDR address to an EXTADDR address.
expression
is an expression whose value is a BADDR address.
$BADDR_TO_WADDR
$BADDR_TO_WADDR converts a BADDR address to a WADDR address.
expression
is an expression whose value is a BADDR address.
pTAL privileged procedure No
Can be executed only by privileged procedures No
Sets condition code Yes
Sets $CARRY No
Sets $OVERFLOW No
Example 18-8. Call to $BADDR_TO_EXTADDR Routine
STRING .EXT s;
STRING t;
@s := $BADDR_TO_EXTADDR(@t); ! @t is a BADDR address
pTAL privileged procedure No
Can be executed only by privileged procedures No
Sets condition code Yes
Sets $CARRY No
Sets $OVERFLOW No
expression( )
VST683.vsd
$BADDR_TO_EXTADDR
expression( )
VST684.vsd
$BADDR_TO_WADDR