![background image](http://html1.mh-extra.com/html/omron/sysmac-cs1d-cpu/sysmac-cs1d-cpu_reference-manual_742268486.webp)
447
Symbol Math Instructions
Section 3-11
The Carry Flag (CY) is turned ON, so the actual number is –97AE06D3.
Because the content of D00101 and D00100 is negative, CY is used to turn
ON CIO 002100 to indicate this.
3-11-11 SIGNED BINARY SUBTRACT WITH CARRY: –C(412)
Purpose
Subtracts 4-digit (single-word) hexadecimal data and/or constants with the
Carry Flag (CY).
Ladder Symbol
Variations
Applicable Program Areas
Operand Specifications
0
0
0
0
0
0
0 0
6
5 1
F 9 2 D
8
R+1: D00101
3
D
6
0
E
A
7
9
1
CY
R+1: D00100
−
Su+1: D00101
Su: D00100
Subtraction at 2
R+1: D00101
D00101
D00100
3
D
6
0
E
A
7
9
6
5 1
F 9 2 D
1
CY
R+1: D00100
1
CIO 0201
CIO 0200
2 0 F 5
5 A
0
8
−
Su+1:
Su:
Final Subtraction Result
Mi+1:
Mi:
−
C(412)
R
Mi
Su
Mi
: Minuend word
Su
: Subtrahend word
R
: Result word
Variations
Executed Each Cycle for ON Condition
–C(412)
Executed Once for Upward Differentiation
@–C(412)
Executed Once for Downward Differentiation
Not supported.
Immediate Refreshing Specification
Not supported.
Block program
areas
Step program
areas
Subroutines
Interrupt tasks
OK
OK
OK
OK
Area
Mi
Su
R
CIO Area
CIO 0000 to CIO 6143
Work Area
W000 to W511
Holding Bit Area
H000 to H511
Auxiliary Bit Area
A000 to A959
A448 to A959
Summary of Contents for SYSMAC CS1D-CPU**
Page 3: ...iv...
Page 29: ...xxx...
Page 185: ...146 List of Instructions by Function Code Section 2 4...
Page 1389: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2...
Page 1390: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits...
Page 1391: ...1352 ASCII Code Table Appendix A...