![background image](http://html1.mh-extra.com/html/omron/sysmac-cs1d-cpu/sysmac-cs1d-cpu_reference-manual_742268737.webp)
698
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 CS1-H, CJ1-H, CJ1M, and CS1D CPU
Units only.
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
704
PUSH ONTO STACK
PUSH
632
707
FIRST IN FIRST OUT
FIFO
633
710
LAST IN FIRST OUT
LIFO
634
713
DIMENSION RECORD TABLE DIM
631
716
Содержание SYSMAC CS1D-CPU**
Страница 3: ...iv...
Страница 29: ...xxx...
Страница 185: ...146 List of Instructions by Function Code Section 2 4...
Страница 193: ...154 3 35 4 MOVE BIT MOVBC 568 1274 3 35 5 BIT COUNTER BCNTC 621 1276 3 35 6 GET VARIABLE ID GETID 286 1278...
Страница 1389: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2...
Страница 1390: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits...
Страница 1391: ...1352 ASCII Code Table Appendix A...