47
CS/CJ/NSJ Series Instructions Reference Manual (W474)
2. Summary of Instructions
2-2 Instruction Functions
2
2-2-5 Comparison Instructions
2-2-5 Comparison Instructions
*1
: Not supported by CS1D CPU Units for Duplex-CPU Systems.
Instruction
Mnemonic
Code
Symbol/Operand Function Location
Execution
condition
Page
Symbol Compari-
son (Unsigned)
LD, AND, OR + =,
<>, <, <=, >, >=
300 (=)
305 (<>)
310 (<)
315 (<=)
320 (>)
325(>=)
LD: Not
required
AND, OR:
Required
253
Symbol Compari-
son (Double-
word, unsigned)
LD, AND, OR + =,
<>, <, <=, >, >= +
L
301 (=)
306 (<>)
311 (<)
316 (<=)
321 (>)
326 (>=)
S
1
: Comparison
data 1
S
2
: Comparison
data 2
Symbol comparison instructions (double-word, unsigned) compare two
values (constants and/or the contents of specified double-word data) in
unsigned 32-bit binary data and create an ON execution condition when
the comparison condition is true. There are three types of symbol com-
parison instructions, LD (LOAD), AND, and OR.
LD: Not
required
AND, OR:
Required
253
Symbol Compari-
son (Signed)
LD, AND, OR + =,
<>, <, <=, >, >=
+S
302 (=)
307 (<>)
312 (<)
317 (<=)
322 (>)
327 (>=)
S
1
: Comparison
data 1
S
2
: Comparison
data 2
Symbol comparison instructions (signed) compare two values (con-
stants and/or the contents of specified words) in signed 16-bit binary (4-
digit hexadecimal) and create an ON execution condition when the com-
parison condition is true. There are three types of symbol comparison
instructions, LD (LOAD), AND, and OR.
LD: Not
required
AND, OR:
Required
253
Symbol Compari-
son (Double-
word, signed)
LD, AND, OR + =,
<>, <, <=, >, >=
+SL
303 (=)
308 (<>)
313 (<)
318 (<=)
323 (>)
328 (>=)
S
1
: Comparison
data 1
S
2
: Comparison
data 2
Symbol comparison instructions (double-word, signed) compare two
values (constants and/or the contents of specified double-word data) in
signed 32-bit binary (8-digit hexadecimal) and create an ON execution
condition when the comparison condition is true. There are three types
of symbol comparison instructions, LD (LOAD), AND, and OR.
LD: Not
required
AND, OR:
Required
253
S
1
S
2
Symbol & options
S
1
: Comparison
data 1
S
2
: Comparison
data 2
LD
AND
OR
<
<
<
ON execution condition when
comparison result is true.
ON execution condition
when comparison result
is true.
Symbol comparison instructions (unsigned) compare two values
(constants and/or the contents of specified words) in 16-bit binary
data and create an ON execution condition when the comparison
condition is true. There are three types of symbol comparison
instructions, LD (LOAD), AND, and OR.
ON execution condition when
comparison result is true.