pTAL Reference Manual (H06.08+)
Built-In Routines
HP pTAL Reference Manual—523746-006
15-42
$EXTADDR_TO_WADDR
$EXTADDR_TO_WADDR
$EXTADDR_TO_WADDR converts an EXTADDR address to an WADDR address.
expression
is an expression whose value is an EXTADDR address.
$FILL8, $FILL16, and $FILL32
$FILL8, $FILL16, and $FILL32 fill an array or structure with repetitions of an 8-bit,
16-bit, or 32-bit value, respectively (sometimes called a “smear” operation).
pTAL privileged procedure No
Can be executed only by privileged procedures No
Sets condition code No
Sets $CARRY No
Sets $OVERFLOW No
Example 15-30. $EXTADDR_TO_WADDR Routine
PROC p(x);
INT .EXT x;
BEGIN
INT .j;
@j := $EXTADDR_TO_WADDR(@x);
@j := $EXTADDR_TO_WADDR(x); ! ERROR: x is INT, not EXTADDR
END;
expression
( )
VST687.vsd
$EXTADDR_TO_WADDR
CALL
$FILL8
$FILL16
$FILL32
(
area-to-fill
,
repetitions
,
value
)
VST688.vsd










