86
CS/CJ/NSJ Series Instructions Reference Manual (W474)
2. Summary of Instructions
FIND MAXIMUM
MAX
@MAX
182
Output
Required
588
DOUBLE FIND
MAXIMUM
MAXL
@MAXL
174
(CJ2 only)
Treats the specified number of data items as double word table data and
outputs the maximum value in the table.
Output
Required
592
FIND MAXIMUM
FLOATING
MAXF
@MAXF
176
(CJ2 only)
Treats the specified number of data items as a table of single-precision
floating-point data and outputs the maximum value in the table.
Output
Required
595
FIND DOUBLE
MAXIMUM
FLOATING
MAXD
@MAXD
178
(CJ2 only)
Treats the specified number of data items as a table of double-precision
floating-point data and outputs the maximum value in the table.
Output
Required
597
FIND MINIMUM
MIN
@MIN
183
Output
Required
588
Instruction
Mnemonic
Code
Symbol/Operand Function Location
Execution
condition
Page
MAX(182)
C
R1
D
C: 1st control
word
R1: 1st word in
range
D: Destination
word
R1+(W−1)
R1
Finds the maximum value in the range.
Internal I/O
memory address
C words
Max.
value
MAXL(174)
C
S
D
C: First control
word
S: First word in
range
D: First
destination word
MAXF(176)
C
S
D
C: First control
word
S: First word in
range
D: First
destination word
MAXD(178)
C
S
D
C: First control
word
S: First word in
range
D: First
destination word
MIN(183)
C
R1
D
C: 1st control
word
R1: 1st word in
range
D: Destination
word
R1+(W−1)
R1
Finds the minimum value in the range.
Internal I/O
memory address
C words
Min. value