![Omron CJ1G-CPUxx Instructions Manual Download Page 71](http://html1.mh-extra.com/html/omron/cj1g-cpuxx/cj1g-cpuxx_instructions-manual_742491071.webp)
50
Instruction Functions
Section 2-2
SIGNED BINARY
SUBTRACT
WITH CARRY
– C
@– C
412
Output
Required
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
Instruction
Mnemonic
Code
Symbol/Operand
Function
Location
Execution
condition
Page
Mi: Minuend word
Su: Subtrahend
word
R: Result word
−
C(412)
Mi
Su
R
Subtracts 4-digit (single-word) hexadecimal data and/or constants
with the Carry Flag (CY).
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
−
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.
−
Summary of Contents for CJ1G-CPUxx
Page 3: ...iv N o t i c e ...
Page 5: ...vi ...
Page 21: ...xxii Conformance to EC Directives 6 ...
Page 35: ......
Page 1131: ...1110 CJ series Instruction Execution Times and Number of Steps Section 4 2 ...