LHLD 2501
XCHG
LDA 2503
LXI H,0000
MVI C,08
LOOP: DAD H
RAL
JNC AHEAD
DAD D
AHEAD: DCR C
JNZ LOOP
SHLD 2504
HLT
LSB OF MULTIPLICAND - 84H, MSB OF MULTIPLICAND - 00H ,MULTIPLIER - 56H
ANSWER
AT ADDRESS 2504 - 58H, LSBs OF PRODUCT
AT ADDRESS 2505 - 2CH, MSB sOF PRODUCT
0 Comments