pTAL Reference Manual (H06.08+)
Built-In Routines
HP pTAL Reference Manual—523746-006
15-41
$EXTADDR_TO_BADDR
channel-status output
sINT:variable
See the system description manual for your system for details.
$EXTADDR_TO_BADDR
$EXTADDR_TO_BADDR converts an EXTADDR address to a BADDR address.
expression
is an expression
whose value is an EXTADDR address.
Example 15-28. $EXECUTEIO Routine
INT channel;
INT lprm_command;
INT lac_subcommand;
INT rdst_dev_status;
INT channel_status;
$EXECUTEIO (channel, lprm_command, lac_subcommand,
rdst_dev_status, channel_status);
pTAL privileged procedure No
Can be executed only by privileged procedures No
Sets condition code No
Sets $CARRY No
Sets $OVERFLOW No
Example 15-29. $EXTADDR_TO_BADDR Routine
PROC p(x);
STRING .EXT x;
BEGIN
STRING .j;
@j := $EXTADDR_TO_BADDR(@x);
@j := $EXTADDR_TO_BADDR(x); ! ERROR: x is STRING,
END; ! not EXTADDR
expression
( )
VST686.vsd
$EXTADDR_TO_BADDR










