325
BCD Calculation Instructions
Section 5-21
5-21-9 DOUBLE BCD MULTIPLY – MULL(56)
Limitations
DM 6141 to DM 6655 cannot be used for R.
TR 0
CLC(41)
@SUBL(55)
HR 00
120
DM 0100
CLC(41)
@SUBL(55)
DM 0000
DM 0100
DM 0100
25504
HR 0100
00003
25504
HR 0100
First
subtraction
Second
subtraction
Turned ON to indicate
negative result.
@BSET(71)
#0000
DM 0000
DM 0001
00000
LD
00003
00001
OUT
TR
0
00002
CLC(41)
00003
@SUBL(55)
HR
00
120
DM
0100
00004
AND
25504
00005
@BSET(71)
#
0000
DM
0000
DM
0001
00006
CLC(41)
00007
@SUBL(55)
DM
0000
DM
0100
DM
0100
00008
LD
TR
0
00009
LD
25504
00010
OR
HR
0100
00011
AND LD
00012
OUT
HR
0100
Address
Instruction
Operands
Address
Instruction
Operands
Md
:
First multiplicand word (BCD)
IR, SR, AR, DM, EM, HR, TIM/CNT, LR
Mr
:
First multiplier word (BCD)
IR, SR, AR, DM, EM, HR, TIM/CNT, LR
Ladder Symbols
Operand Data Areas
R
:
First result word
IR, SR, AR, DM, EM, HR, LR
MULL(56)
Md
Mr
R
@MULL(56)
Md
Mr
R