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.