
697
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
703
PUSH ONTO STACK
PUSH
632
706
FIRST IN FIRST OUT
FIFO
633
709
LAST IN FIRST OUT
LIFO
634
712
DIMENSION RECORD TABLE DIM
631
715
Summary of Contents for SYSMAC CS Series
Page 2: ......
Page 4: ...iv ...
Page 30: ...xxx ...
Page 186: ...146 List of Instructions by Function Code Section 2 4 ...
Page 1320: ...1280 Model Conversion Instructions Unit Ver 3 0 or Later Section 3 35 ...
Page 1390: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2 ...
Page 1391: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits ...
Page 1392: ...1352 ASCII Code Table Appendix A ...
Page 1404: ...1364 Revision History ...