pTAL Reference Manual (G06.24+, H06.09+, J06.03+)

NopTAL privileged procedure
NoCan be executed only by privileged procedures
NoSets condition code
NoSets $CARRY
NoSets $OVERFLOW
int-expression
is an unsigned INT expression.
Example 274 $LMAX Routine
INT intval := 3;
max := $LMAX (intval, 5); ! Return 5
$LMIN
$LMIN returns the minimum of two unsigned INT values.
NopTAL privileged procedure
NoCan be executed only by privileged procedures
NoSets condition code
NoSets $CARRY
NoSets $OVERFLOW
int-expression
is an unsigned INT expression.
Example 275 $LMIN Routine
INT intval := 3;
min := $LMIN (intval, 5); ! Return 3
$LOCATESPTHDR
NOTE: The EpTAL compiler does not support this procedure.
$LOCATESPTHDR returns the address of the Segment Page Table (SPT).
324 Built-In Routines