274
When Au and Ag are both positive numbers and the addition result is negative,
the Overflow Flag (A50009) turns ON. When Au and Ag are both negative num-
bers and the addition result is positive, the Underflow Flag (A50010) turns ON. If
a addition result in a carry, the Carry Flag turns ON.
The range for unsigned binary data is 0000 to FFFF (0000 0000 to FFFF FFFF
for “double” instructions), so the decimal range would be 0 to 65,535 (0 to
4,294,967,295).
5-20-2 BCD Addition: +B(404)/ +BL(405)/+BC(406)/+BCL(407)
BCD ADD WITHOUT CARRY: +B(404)
Variations
j +B(404)
(404)
+B Au Ad R
Ad: Addend word CIO, G, A, T, C, #, DM, DR, IR
R: Result word CIO, G, A, DM, DR, IR
Au: Augend word CIO, G, A, T, C, #, DM, DR, IR
Operand Data AreasLadder Symbol
DOUBLE BCD ADD WITHOUT CARRY: +BL(405)
Variations
j +BL(405)
(405)
+BL Au Ad R
Ad: 2nd addend word CIO, G, A, T, C, #, DM
R: 1st result word CIO, G, A, DM
Au: 1st augend word CIO, G, A, T, C, #, DM
Operand Data AreasLadder Symbol
BCD ADD WITH CARRY: +BC(406)
Variations
j +BC(406)
(406)
+BC Au Ad R
Ad: Addend word CIO, G, A, T, C, #, DM, DR, IR
R: Result word CIO, G, A, DM, DR, IR
Au: Augend word CIO, G, A, T, C, #, DM, DR, IR
Operand Data AreasLadder Symbol
DOUBLE BCD ADD WITH CARRY: +BCL(407)
Variations
j +BCL(407)
(407)
+BCL Au Ad R
Ad: 2nd addend word CIO, G, A, T, C, #, DM
R: 1st result word CIO, G, A, DM
Au: 1st augend word CIO, G, A, T, C, #, DM
Operand Data AreasLadder Symbol
(CVM1 V2)
Symbol Math Instructions Section 5-20