![background image](http://html1.mh-extra.com/html/omron/sysmac-cs1d-cpu/sysmac-cs1d-cpu_reference-manual_742268776.webp)
737
Table Data Processing Instructions
Section 3-17
Operands
C and C+1: Control words
C specifies the number of units (bytes or words) to be summed. (Bit 13 of C+1
determines whether bytes or words are being summed.)
Bits 12 to 15 of C+1 indicate what type of data is being summed, as shown in
the following diagram.
Note
C and C+1 must be in the same data area.
R1: First word in range
R1 specifies the first word in the range. The length of the range depends on
the number of units as well as the starting byte, if bytes are being added.
Note
All of the words in the calculation range must be in the same data area.
D: First destination word
The result of the calculation is output to D+1 and D. The leftmost four digits
are stored in D+1 and the rightmost four digits are stored in D.
Operand Specifications
15
0
C
15
0
14
0
C+1
13 12 11
0000 0000 0000
Data type (Effective if bit 14 is 0.)
Data type
Units
Starting byte (Effective if bit 13 is 1.)
0: Unsigned binary data
1: Signed binary data
0: Binary
1: BCD
0: Words
1: Bytes
0: Leftmost byte
1: Rightmost byte
Number of words/bytes in range
R1
15
0
---
R1+(C units–1)
to
Calculation range
Area
C
R1
D
CIO Area
CIO 0000 to
CIO 6142
CIO 0000 to
CIO 6143
CIO 0000 to
CIO 6142
Work Area
W000 to W510
W000 to W511
W000 to W510
Holding Bit Area
H000 to H510
H000 to H511
H000 to H510
Auxiliary Bit Area
A000 to A958
A000 to A959
A448 to A958
Timer Area
T0000 to T4094
T0000 to T4095
T0000 to T4094
Counter Area
C0000 to C4094
C0000 to C4095
C0000 to C4094
DM Area
D00000 to
D32766
D00000 to
D32767
D00000 to
D32766
Содержание 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...