![Omron CJ1G-CPUxx Instructions Manual Download Page 638](http://html1.mh-extra.com/html/omron/cj1g-cpuxx/cj1g-cpuxx_instructions-manual_742491638.webp)
617
Table Data Processing Instructions
Section 3-17
Precautions
Input comparison instructions cannot be used as right-hand instructions, i.e.,
another instruction must be used between them and the right bus bar.
Example
AND DOUBLE FLOATING LESS THAN: AND<D(331)
When CIO 000000 is ON in the following example, the floating point data in
words D00100 to D00103 is compared to the floating point data in words
D00200 to D00203. If the content of D00100 to D00103 is less than that of
D00200 to D00203, execution proceeds to the next line and CIO 005000 is
turned ON. If the content of D00100 to D00103 is not less than that of D00200
to D00203, execution does not proceed to the next instruction line.
3-17 Table Data Processing Instructions
This section describes instructions used to handle table data, stacks, and
other ranges of data. The 5 instructions at the bottom of the table (marked
with an asterisk) are supported by the CS1-H, CJ1-H, CJ1M, and CS1D CPU
Units only.
Not Equal Flag
=
ON if C1
≠
C2.
OFF in all other cases.
Less Than Flag
<
ON if C1 < C2.
OFF in all other cases.
Less Than or
Equal Flag
< =
ON if C1
≤
C2.
OFF in all other cases.
Negative Flag
N
Unchanged
Name
Label
Operation
<D
D00100
D00200
000000
005000
34580>14876
−
3.4580E+48<1.4876E+48
1 0 0 0 1 0 1 1 0 1 0 0 0 1 0 0
1 1 1 0 0 1 1 1 0 1 1 0 1 1 0 0
1 0 1 0 1 0 0 1 1 1 1 1 1 0 1 1
0 1 0 0 0 0 0 0 0 0 0 0 1 0 1 1
15
0
S1 :D00100
S1+1:D00101
S1+2:D00102
S1+3:D00103
0 1 1 1 1 0 0 1 0 0 1 1 1 1 1 0
1 0 1 0 1 0 0 0 0 1 0 1 1 0 0 0
1 1 0 0 1 1 0 1 0 0 1 1 0 1 0 1
0 0 1 1 1 1 1 1 1 1 1 1 0 1 1 1
15
0
S1 :D00100
S2+1:D00101
S2+2:D00102
S2+3:D00103
1 1 0 1 1 1 1 0 1 0 0 1 0 0 0 1
1 0 1 0 1 0 0 1 1 0 1 1 0 1 1 0
1 1 1 0 1 1 0 1 1 0 1 1 0 0 0 0
1 1 0 0 1 0 1 0 0 0 0 0 0 0 1 0
15
0
S1 :D00100
S1+1:D00101
S1+2:D00102
S1+3:D00103
0 1 0 1 0 1 0 0 0 1 0 1 0 0 1 1
1 0 1 0 1 0 0 0 0 0 1 0 1 0 1 1
0 1 0 0 1 0 0 1 0 0 1 0 0 1 0 0
0 1 0 0 1 0 0 1 1 1 1 1 0 0 0 0
15
0
S1 :D00100
S2+1:D00101
S2+2:D00102
S2+3:D00103
DOUBLE FLOATING LESS THAN Comparison (<D)
Yields an ON condition.
Decimal value:
−
3.4580E+48
Decimal value: -1.4876
Does not yield an ON condition.
Decimal value: 3.4580
Decimal value: 1.4876E+48
Instruction
Mnemonic
Function code
Page
SET STACK
SSET
630
PUSH ONTO STACK
PUSH
632
FIRST IN FIRST OUT
FIFO
633
Summary of Contents for CJ1G-CPUxx
Page 3: ...iv N o t i c e ...
Page 5: ...vi ...
Page 21: ...xxii Conformance to EC Directives 6 ...
Page 35: ......
Page 1131: ...1110 CJ series Instruction Execution Times and Number of Steps Section 4 2 ...