8051 MicroController Assembly Code to Implement Multiplication of two Numbers using Addition Instructions.
Below Code is Complied and Verified in Keil uVision 3.
The .asm file is given below after the code. For clarifications and suggestion comment in the comment section
; 8051 ASSEMBLY CODE -- CODESEXPLORER BLOG
; IMPLEMENTATION OF MULTIPLICATION USING ADDITION
; BELOW CODE MULTIPLIES 10H WITH 3H
ORG 0000H
MOV R0,#03 ;OPERAND 1
MOV R1,#10H ;OPERAND 2
CLR A
loop:ADD A,R1
DJNZ R0,loop
END
Thank You