![background image](http://html1.mh-extra.com/html/omron/cj1g-cpu-series/cj1g-cpu-series_programming-manual_742489103.webp)
82
Comparison Instructions
Section 3-5
3-5
Comparison Instructions
Instruction
Mnemonic
Code
Symbol/Operand
Function
Location
Execution
condition
Symbol Compari-
son (Unsigned)
LD, AND, OR + =,
<>, <, <=, >, >=
300 (=)
305 (<>)
310 (<)
315 (<=)
320 (>)
325(>=)
LD: Not
required
AND, OR:
Required
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 condi-
tion is true. There are three types of symbol comparison instructions, LD
(LOAD), AND, and OR.
LD: Not
required
AND, OR:
Required
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 (constants and/or
the contents of specified words) in signed 16-bit binary (4-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
S
1
: Comparison
data 1
S
2
: Comparison
data 2
Symbol & options
S
1
S
2
LD
AND
OR
ON execution condition when
comparison result is true.
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.
Summary of Contents for CJ1G-CPU series
Page 3: ...iv...
Page 5: ...vi...
Page 21: ...xxii Conformance to EC Directives 6...
Page 169: ...148 Task Control Instructions Section 3 32...
Page 203: ...182 Programming Device Operations for Tasks Section 4 4...
Page 253: ...232 Using File Memory Section 5 3...
Page 337: ...316 Other Functions Section 6 11...
Page 347: ......
Page 369: ......
Page 373: ......
Page 379: ......
Page 381: ...360 Revision History...