pTAL Reference Manual (G06.24+, H06.09+, J06.03+)
The EpTAL compiler supports no pTAL privileged routines except $TRIGGER.
Table 59 pTAL Privileged Routines
DescriptionProcedure
Converts a standard address or a relative extended address to an absolute
extended address
$AXADR
Executes an I/O operation$EXECUTEIO
Freezes (halts) the processor in which its process is running and any other
processes on the same node that have FREEZE enabled
$FREEZE
Halts the processor in which its process is runningVOLATILE Attribute
Stores cause and status information from an I/O interrupt$INTERROGATEIO
Locks one page of memory$LOCKPAGE
Returns the base and limit of the current extended segment$READBASELIMIT
Replaces $FREEZE and $HALT, which are available only for code generated for
the TNS/R architecture
$TRIGGER
Unlocks one page of memory$UNLOCKPAGE
Writes a segment-page-table entry$WRITEPTE
Type-Conversion Routines
A type-conversion routine converts its argument or arguments from one data type to another data
type.
Table 60 Built-In Type-Conversion Routines
To ...Converts ...Routine
FIXED valueASCII value$ASCIITOFIXED
INT(32) value$DBL INT, INT(32), FIXED, REAL, or
REAL(64), or UNSIGNED(1-31) value
EXTADDR or PROCADDR address
INT(32) valueTwo INT values$DBLL
Rounded INT(32) valueINT, INT(32), FIXED, REAL, or REAL(64)
value
$DBLR
FIXED(fpoint ) valueINT(32) value$DFIX
REAL(64) valueINT, INT(32), FIXED(fpoint), REAL, or
REAL(64) value
$EFLT
Rounded REAL(64) valueINT, INT(32), FIXED(fpoint), or REAL,
or REAL(64) value
$EFLTR
FIXED valueINT, INT(32), REAL, REAL(64), FIXED,
or EXT64ADDR
1
value
$FIX
INT(32) valueFIXED value$FIXD
ASCII valueAbsolute value of a FIXED value$FIXEDTOASCII
Same as $FIXEDTOASCII but returns
the value of the residue
$FIXEDTOASCIIRESIDUE
Signed INT valueFIXED value$FIXI
Unsigned INT valueFIXED value$FIXL
282 Built-In Routines