281
5-20-4 BCD Subtraction: –B(414)/ –BL(415)/–BC(416)/–BCL(417)
BCD SUBTRACT WITHOUT CARRY: –B(414)
Variations
j –B(414)
(414)
–B Mi Su R
Operand Data AreasLadder Symbol
Mi: Minuend word CIO, G, A, T, C, #, DM, DR, IR
R: Result word CIO, G, A, DM, DR, IR
Su: Subtrahend word CIO, G, A, T, C, #, DM, DR, IR
DOUBLE BCD SUBTRACT WITHOUT CARRY: –BL(415)
Variations
j –BL(415)
(415)
–BL Mi Su R
Operand Data AreasLadder Symbol
Mi: 1
st
minuend word CIO, G, A, T, C, #, DM
R: 1
st
result word CIO, G, A, DM
Su: 1
st
subtrahend wordCIO, G, A, T, C, #, DM
BCD SUBTRACT WITH CARRY: –BC(416)
Variations
j –BC(416)
(416)
–BC Mi Su R
Operand Data AreasLadder Symbol
Mi: Minuend word CIO, G, A, T, C, #, DM, DR, IR
R: Result word CIO, G, A, DM, DR, IR
Su: Subtrahend word CIO, G, A, T, C, #, DM, DR, IR
DOUBLE BCD SUBTRACT WITH CARRY: –BCL(417)
Variations
j –BCL(417)
(417)
–BCL Mi Su R
Operand Data AreasLadder Symbol
Mi: 1
st
minuend word CIO, G, A, T, C, #, DM
R: 1
st
result word CIO, G, A, DM
Su: 1
st
subtrahend wordCIO, G, A, T, C, #, DM
BCD SUBTRACT WITHOUT CARRY
When the execution condition is OFF, –B(414) is not executed. When the execu-
tion condition is ON, –B(414) subtracts the BCD contents of Su from Mi, and
places the result in R. If the result is negative, CY is set and the 10’s complement
of the actual result is placed in R. To convert the 10’s complement to the true
result, subtract the content of R from 0000.
Mi – Su CY R
Description
(CVM1 V2)
Symbol Math Instructions Section 5-20