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

srcaddr
input,output
EXTADDR:variable
is the address from which 16-bit words are moved. When $MOVENONDUP completes,
srcaddr is the address after which $MOVENONDUP read the last byte it moved.
maxwords
input,output
sINT:variable
is the maximum number of 16-bit words to move. When $MOVENONDUP completes,
maxwords is the number of words not moved because $MOVENONDUP found a duplicate,
or, if a duplicate was not found, maxwords is zero.
lastword
input,output
uINT:variable
holds the 16-bit word against which the first word at srcaddr is compared. When
$MOVENONDUP completes, lastword contains the last word moved.
Example 281 $MOVENONDUP Routine
INT .EXT source;
INT .EXT destination;
INT maxword;
INT latestword;
$MOVENONDUP(@destination, @source, maxword, latestword);
$NUMERIC
$NUMERIC tests the right byte of an INT value for the presence of a numeric character.
NopTAL privileged procedure
NoCan be executed only by privileged procedures
NoSets condition code
NoSets $CARRY
NoSets $OVERFLOW
int-expression
is an INT expression.
$NUMERIC inspects bits <8:15> of int-expression and ignores bits <0:7>. It tests for a
numeric character according to the criterion:
int-expression >= "0" AND int-expression <= "9"
If a numeric character occurs, $NUMERIC sets the condition code to CCL (condition code less
than). If you plan to test the condition code, do so before an arithmetic operation or assignment
occurs.
If the character passes the test, $NUMERIC returns a -1 (true); otherwise, it returns a 0 (false).
int-expression can include STRING and UNSIGNED(1-16) operands, as described in
“Expression Arguments” at the beginning of this section.
Nonatomic Operations 329