![background image](http://html1.mh-extra.com/html/omron/sysmac-cs1d-cpu/sysmac-cs1d-cpu_reference-manual_742268092.webp)
53
Instruction Functions
Section 2-2
SIGNED BINARY
SUBTRACT
WITH CARRY
– C
@– C
412
Output
Required
447
DOUBLE
SIGNED BINARY
WITH CARRY
– CL
@– CL
413
Output
Required
449
BCD SUBTRACT
WITHOUT
CARRY
–B
@–B
414
Output
Required
452
DOUBLE BCD
SUBTRACT
WITHOUT
CARRY
–BL
@–BL
415
Output
Required
453
BCD SUBTRACT
WITH CARRY
–BC
@–BC
416
Output
Required
457
Instruction
Mnemonic
Code
Symbol/Operand
Function
Location
Execution
condition
Page
−
C(412)
R
Mi
Su
Mi
: Minuend word
Su
: Subtrahend
word
R
: Result word
CY
R
CY
−
Mi
Su
Subtracts 4-digit (single-word) hexadecimal data and/or constants
with the Carry Flag (CY).
(Signed binary)
(Signed binary)
(Signed binary)
CY will turn ON
when there is a
borrow.
−
CL(413)
Mi
Su
R
Mi
: Minuend word
Su
: Subtrahend
word
R
: Result word
R+1
CY
R
CY
Mi+1
Su+1
Mi
Su
CY will turn
ON when
there is a
borrow.
Subtracts 8-digit (double-word) hexadecimal data and/or constants
with the Carry Flag (CY).
(Signed binary)
(Signed binary)
(Signed binary)
−
−
B(414)
R
Mi
Su
Mi
: Minuend word
Su
: Subtrahend
word
R
: Result word
Mi
Su
Subtracts 4-digit (single-word) BCD data and/or constants.
CY will turn ON
when there is a
carry.
−
R
CY
(BCD)
(BCD)
(BCD)
−
BL(415)
R
Su
Mi
: 1st minuend
word
Su
: 1st
subtrahend word
R
: 1st result word
Mi
R+1
CY
R
(BCD)
(BCD)
(BCD)
−
Mi +1
Su+1
Mi
Su
Subtracts 8-digit (double-word) BCD data and/or constants.
CY will turn ON
when there is a
borrow.
−
BC(416)
Mi
Su
R
Mi
: Minuend word
Su
: Subtrahend
word
R
: Result word
CY
CY
(BCD)
(BCD)
(BCD)
R
−
Mi
Su
CY will turn ON
when there is a
borrow.
Subtracts 4-digit (single-word) BCD data and/or constants with the
Carry Flag (CY).
Содержание 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...