pTAL Reference Manual (H06.08+)

Built-In Routines
HP pTAL Reference Manual523746-006
15-11
Nonatomic Operations
Nonatomic Operations
pTAL Privileged Routines on page 15-11
Type-Conversion Routines on page 15-12
Address-Conversion Routines on page 15-14
Character-Test Routines on page 15-14
Minimum and Maximum Routines on page 15-15
Arithmetic Routines on page 15-15
Carry and Overflow Routines on page 15-15
FIXED-Expression Routines on page 15-15
Variable-Characteristic Routines on page 15-16
Procedure-Parameter Routines on page 15-16
Miscellaneous Routines on page 15-16
Table 15-13 on page 15-17 lists the built-in routines for nonatomic operations
alphabetically and shows which hardware indicators they can can set.
pTAL Privileged Routines
pTAL privileged routines execute in privileged mode (see Privileged Mode on
page 15-1).
The pTAL compiler supports all pTAL privileged routines except $TRIGGER.
The EpTAL compiler supports no pTAL privileged routines except $TRIGGER.
Table 15-2. pTAL Privileged Routines (page 1 of 2)
Procedure Description
$AXADR
Converts a standard address or a relative extended address to an
absolute extended address
$EXECUTEIO
Executes an I/O operation
$FREEZE
Freezes (halts) the processor in which its process is running and any
other processes on the same node that have FREEZE enabled
$HALT
Halts the processor in which its process is running
$INTERROGATEIO
Stores cause and status information from an I/O interrupt
$LOCKPAGE
Locks one page of memory
$READBASELIMIT
Returns the base and limit of the current extended segment