pTAL Reference Manual (G06.24+, H06.09+, J06.03+)
Table 70 Built-In Routines for Nonatomic Operations (continued)
Can Set ...DescriptionRoutine
Converts a standard address or a
relative extended address to an
absolute extended address
$AXADR
1, 2, 3
Condition codeConverts a BADDR address to an
EXTADDR address
$BADDR_TO_EXTADDR
Condition codeConverts a BADDR address to a
WADDR address
$BADDR_TO_WADDR
Returns the length, in bits, of a
variable
$BITLENGTH
Returns the offset, in bits, of a
structure data item from the address
of the zeroth structure occurrence
$BITOFFSET
Indicates whether an arithmetic carry
occurred during certain arithmetic
$CARRY
operations or during execution of a
SCAN or RSCAN statement
Returns the checksum of data$CHECKSUM
Returns the one’s complement of its
argument
$COMP
Returns the number of duplicate
words in a buffer
$COUNTDUPS
$OVERFLOWConverts its argument to an INT(32)
value
$DBL
Converts two INT values to an
INT(32) value
$DBLL
Converts its argument to a rounded
INT(32) value
$DBLR
$OVERFLOWConverts an INT(32) value to a
FIXED(fpoint) value
$DFIX
Converts its argument to a REAL(64)
value
$EFLT
Converts its argument to a rounded
REAL(64) value
$EFLTR
Exchanges the values of two
variables of the same data type
$EXCHANGE
Condition codeExecutes an I/O operation$EXECUTEIO
1, 2, 3
Converts a EXTADDR address to a
BADDR address
$EXTADDR_TO_BADDR
Converts a EXTADDR address to a
WADDR address
$EXTADDR_TO_WADDR
Converts address of type
EXT64ADDR
4
to EXTADDR
$EXT64ADDR_TO_EXTADDR
4
Converts address of type
EXT64ADDR
4
to EXT32ADDR
4
$EXT64ADDR_TO_EXT32ADDR
4
Converts address of type
EXT64ADDR
4
to EXT32ADDR
4
.
$EXT64ADDR_TO_EXT32ADDR_OV
4
Nonatomic Operations 287