96
Symbol Math Instructions
Section 3-9
DOUBLE
SIGNED BINARY
WITH CARRY
–CL
@–CL
413
Output
Required
BCD SUBTRACT
WITHOUT
CARRY
–B
@–B
414
Output
Required
DOUBLE BCD
SUBTRACT
WITHOUT
CARRY
–BL
@–BL
415
Output
Required
BCD SUBTRACT
WITH CARRY
–BC
@–BC
416
Output
Required
DOUBLE BCD
SUBTRACT
WITH CARRY
–BCL
@–BCL
417
Output
Required
Instruction
Mnemonic
Code
Symbol/Operand
Function
Location
Execution
condition
Mi: Minuend word
Su: Subtrahend
word
R: Result word
–
CL(413)
Mi
Su
R
Subtracts 8-digit (double-word) hexadecimal data and/or constants with
the Carry Flag (CY).
Mi+1
Su+1
R+1
CY
–
Mi
Su
R
CY
(Signed binary)
(Signed binary)
(Signed binary)
CY will turn
ON when
there is a
borrow.
Mi: Minuend word
Su: Subtrahend
word
R: Result word
–
B(414)
Mi
Su
R
Subtracts 4-digit (single-word) BCD data and/or constants.
Mi
Su
R
CY
–
(BCD)
(BCD)
(BCD)
CY will turn
ON when there
is a carry.
Mi: 1st minuend
word
Su: 1st
subtrahend word
R: 1st result word
–
BL(415)
Mi
Su
R
Subtracts 8-digit (double-word) BCD data and/or constants.
Mi +1
Su+1
R+1
CY
–
Mi
Su
R
(BCD)
(BCD)
(BCD)
CY will turn
ON when there
is a borrow.
Mi: Minuend word
Su: Subtrahend
word
R: Result word
–
BC(416)
Mi
Su
R
Subtracts 4-digit (single-word) BCD data and/or constants with the Carry
Flag (CY).
CY
Mi
Su
R
CY
(BCD)
(BCD)
(BCD)
CY will turn
ON when there
is a borrow.
–
Mi: 1st minuend
word
Su: 1st
subtrahend word
R: 1st result word
–
BCL(417)
Mi
Su
R
Subtracts 8-digit (double-word) BCD data and/or constants with the Carry
Flag (CY).
Mi +1
Su+1
R+1
CY
Mi
Su
R
CY
(BCD)
(BCD)
(BCD)
CY will turn
ON when there
is a borrow.
–
Summary of Contents for CJ1G-CPU series
Page 3: ...iv...
Page 5: ...vi...
Page 21: ...xxii Conformance to EC Directives 6...
Page 169: ...148 Task Control Instructions Section 3 32...
Page 203: ...182 Programming Device Operations for Tasks Section 4 4...
Page 253: ...232 Using File Memory Section 5 3...
Page 337: ...316 Other Functions Section 6 11...
Page 347: ......
Page 369: ......
Page 373: ......
Page 379: ......
Page 381: ...360 Revision History...