pTAL Reference Manual (G06.24+, H06.09+, J06.03+)
Table 70 Built-In Routines for Nonatomic Operations (continued)
Can Set ...DescriptionRoutine
Overflow trap occurs if the address
cannot be represented by 32-bits
Converts address of type EXTADDR
to EXT64ADDR
4
$EXTADDR_TO_EXT64ADDR
4
Fill an array or structure with
repetitions of an 8-bit, 16-bit, and
32-bit value, respectively
$FILL8, $FILL16, and $FILL32
Converts its argument to a FIXED
value
$FIX
$OVERFLOWConverts a FIXED value to an INT(32)
value
$FIXD
$OVERFLOWConverts the absolute value of a
FIXED value to an ASCII value
$FIXEDTOASCII
$OVERFLOWConverts the absolute value of a
FIXED value to an ASCII value and
returns the value of the residue
$FIXEDTOASCIIRESIDUE
$OVERFLOWConverts a FIXED value to a signed
INT value
$FIXI
$OVERFLOWConverts a FIXED value to an
unsigned INT value
$FIXL
$OVERFLOWConverts its argument to a rounded
FIXED value
$FIXR
Converts its argument to a REAL
value
$FLT
$OVERFLOWConverts its argument to a rounded
REAL value
$FLTR
Freezes (halts) the processor in which
its process is running and any other
$FREEZE
1, 2, 3
processes on the same node that
have FREEZE enabled
Halts the processor in which its
process is running
$HALT
1, 2, 3
Converts the high-order (leftmost) 16
bits of an INT(32) or EXTADDR value
to an INT value
$HIGH
Converts a signed INT value to a
FIXED(fpoint) value
$IFIX
Converts its argument to an INT value$INT
$OVERFLOWSame as $INT, but sets overflow
indicator in some cases
$INT_OV
Condition codeStores cause and status information
from a high-priority I/O interrupt
$INTERROGATEHIO
2, 3
Condition codeStores cause and status information
from an I/O interrupt
$INTERROGATEIO
1, 2, 3
$OVERFLOW$INTR Converts the low-order 16 bits of an
INT, INT(32), or FIXED value to an
INT value
288 Built-In Routines