127
Table Data Processing Instructions
Section 3-15
SWAP BYTES
SWAP
@SWAP
637
Output
Required
FIND MAXIMUM
MAX
@MAX
182
Output
Required
FIND MINIMUM
MIN
@MIN
183
Output
Required
SUM
SUM
@SUM
184
Output
Required
FRAME CHECK-
SUM
FCS
@FCS
180
Output
Required
Instruction
Mnemonic
Code
Symbol/Operand Function Location
Execution
condition
N
R1
SWAP(637)
N: Number of
words
R1: 1st word in
range
N
R1
Switches the leftmost and rightmost bytes in all of the words in the
range.
Byte position is swapped.
MAX(182)
C
R1
D
C: 1st control
word
R1: 1st word in
range
D: Destination
word
R1
R1+(W−1)
Finds the maximum value in the range.
Internal I/O
memory address
C words
Max.
value
MIN(183)
C
R1
D
C: 1st control
word
R1: 1st word in
range
D: Destination
word
R1
R1+(W−1)
Finds the minimum value in the range.
Internal I/O
memory address
C words
Min. value
SUM(184)
C
R1
D
C: 1st control
word
R1: 1st word in
range
D: 1st destination
word
R1
)
R1+(W−1)
Adds the bytes or words in the range and outputs the result to two
words.
FCS(180)
C
R1
D
C: 1st control
word
R1: 1st word in
range
D: 1st destination
word
R1
C units
Calculation
Calculates the ASCII FCS value for the specified range.
ASCII conversion
FCS value