![Omron CJ1G-CPU series Programming Manual Download Page 116](http://html1.mh-extra.com/html/omron/cj1g-cpu-series/cj1g-cpu-series_programming-manual_742489116.webp)
95
Symbol Math Instructions
Section 3-9
DOUBLE BCD
ADD WITHOUT
CARRY
+BL
@+BL
405
Output
Required
BCD ADD WITH
CARRY
+BC
@+BC
406
Output
Required
DOUBLE BCD
ADD WITH
CARRY
+BCL
@+BCL
407
Output
Required
SIGNED BINARY
SUBTRACT
WITHOUT
CARRY
–
@–
410
Output
Required
DOUBLE
SIGNED BINARY
SUBTRACT
WITHOUT
CARRY
–L
@–L
411
Output
Required
SIGNED BINARY
SUBTRACT
WITH CARRY
–C
@–C
412
Output
Required
Instruction
Mnemonic
Code
Symbol/Operand
Function
Location
Execution
condition
Au: 1st augend word
Ad: 1st addend word
R: 1st result word
+BL(405)
Au
Ad
R
Adds 8-digit (double-word) BCD data and/or constants.
Au +1
Ad+1
R+1
CY
+
Au
Ad
R
(BCD)
(BCD)
(BCD)
CY will turn
ON when there
is a carry.
Au: Augend word
Ad: Addend word
R: Result word
+BC(406)
Au
Ad
R
Adds 4-digit (single-word) BCD data and/or constants with the Carry Flag
(CY).
CY
+
Au
Ad
R
CY
(BCD)
(BCD)
(BCD)
CY will turn
ON when there
is a carry.
Au: 1st augend word
Ad: 1st addend word
R: 1st result word
+BCL(407)
Au
Ad
R
Adds 8-digit (double-word) BCD data and/or constants with the Carry Flag
(CY).
Au +1
Ad+1
R+1
CY
+
Au
Ad
R
CY
(BCD)
(BCD)
(BCD)
CY will turn
ON when there
is a carry.
Mi: Minuend word
Su: Subtrahend
word
R: Result word
–
(410)
Mi
Su
R
Subtracts 4-digit (single-word) hexadecimal data and/or constants.
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
–
L(411)
Mi
Su
R
Subtracts 8-digit (double-word) hexadecimal data and/or constants.
Mi+1
Su+1
R+1
CY
–
Mi
Su
R
(Signed binary)
(Signed binary)
(Signed binary)
CY will turn
ON when
there is a
borrow.
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.
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...