Microprocessor 8085 program TO MULTIPLY TWO NUMBERS OF 8-BIT DATA

TO MULTIPLY TWO NUMBERS OF 8-BIT DATA

LXI H,000
MVI C,00
XRA A
MOV B,M
INX H
MOV D,M

[REPT] ADD D JNC GO INR C [GO] DCR B JNZ REPT INX H MOV M,A INX H MOV M,C HLT

Here, 000 → 1st Operand 001 → 2nd Operand 002 → Sum 003 → Carry