pTAL Reference Manual (G06.24+, H06.09+, J06.03+)
Table 70 Built-In Routines for Nonatomic Operations (continued)
Can Set ...DescriptionRoutine
Converts a REAL or REAL(64) value
to a rounded INT value
Returns INT typed value -1 if the
specified address can be represented
by 32-bits and 0 otherwise.
$IS_32BIT_ADDR
4
Returns the length, in bytes, of a
variable
$LEN
Converts an unsigned INT value to a
FIXED(fpoint) value
$LFIX
Returns the maximum of two unsigned
INT values
$LMAX
Returns the minimum of two unsigned
INT values
$LMIN
$CARRYReturns the address of the Segment
Page Table (SPT)
$LOCATESPTHDR
2, 3
Locks one page of memory$LOCKPAGE
1, 2, 3
Condition code
$CARRY
Returns the maximum of two signed
values
$MAX
Returns the minimum of two signed
values
$MIN
Moves bytes from one memory
location to another and computes a
$MOVEANDCXSUMBYTES
checksum (bytewise exclusive “or”)
on them
Condition codeMoves words until it encounters two
adjacent identical words
$MOVENONDUP
Tests for a numeric character$NUMERIC
Returns the number of elements in an
array
$OCCURS
Returns the offset, in bytes, of a
structure item from the beginning of
the structure
$OFFSET
Controls whether a given parameter
or parameter pair is passed to a
$OPTIONAL
VARIABLE procedure or EXTENSIBLE
procedure
Indicates whether an overflow
occurred during certain arithmetic
operations
$OVERFLOW
Checks for the presence or absence
of an actual parameter in the call that
$PARAM
called the current procedure or
subprocedure
Returns the fpoint value of a FIXED
expression
$POINT
Converts an procedure address to a
PROCADDR address
$PROCADDR
Nonatomic Operations 289