Write an assembly language program to perform the MULTIPLICATION of two data bytes which are stored from memory location FC00H. Store the result starting from memory location D500H.
# ORG 8000
START:LHLD FC00
XCHG
MOV C,D
MVI D,00
LXI H,0000
LOOP:DAD D
DCR C
JNZ LOOP
SHLD D500
HLT
# ORG 8000
START:LHLD FC00
XCHG
MOV C,D
MVI D,00
LXI H,0000
LOOP:DAD D
DCR C
JNZ LOOP
SHLD D500
HLT
Post a Comment
0 Comments