pTAL Reference Manual (H06.08+)

Built-In Routines
HP pTAL Reference Manual523746-006
15-19
Miscellaneous Routines
$FIXEDTOASCII Converts the absolute value of a
FIXED value to an ASCII value
$OVERFLOW
$FIXEDTOASCIIRESIDUE
Converts the absolute value of a
FIXED value to an ASCII value and
returns the value of the residue
$OVERFLOW
$FIXI
Converts a FIXED value to a signed
INT value
$OVERFLOW
$FIXL
Converts a FIXED value to an
unsigned INT value
$OVERFLOW
$FIXR
Converts its argument to a rounded
FIXED value
$OVERFLOW
$FLT
Converts its argument to a REAL
value
$FLTR
Converts its argument to a rounded
REAL value
$OVERFLOW
$FREEZE
1,2,3
Freezes (halts) the processor in which
its process is running and any other
processes on the same node that
have FREEZE enabled
$HALT
1,2,3
Halts the processor in which its
process is running
$HIGH
Converts the high-order (leftmost) 16
bits of an INT(32) or EXTADDR value
to an INT value
$IFIX
Converts a signed INT value to a
FIXED(fpoint ) value
$INT
Converts its argument to an INT value
$INT_OV
Same as $INT, but sets overflow
indicator in some cases
$OVERFLOW
$INTERROGATEHIO
2,3
Stores cause and status information
from a high-priority I/O interrupt
Condition code
$INTERROGATEIO
1,2,3
Stores cause and status information
from an I/O interrupt
Condition code
Table 15-13. Built-In Routines for Nonatomic Operations (page 3 of 6)
Routine Description Can Set ...
1. pTAL privileged procedure (see Privileged Mode on page 15-1)
2. Only procedures operating in privileged mode can execute this routine (see Privileged Mode
on page 15-1).
3. The EpTAL compiler does not support this routine.
4. The pTAL compiler does not support this routine.