0
14kviews
Write a program to add 10 natural numbers.
1 Answer
0
3.3kviews
ORG      20H
MOV R2,  #10D
MOV A,   #00H
MOV R0,  #00H
AGAIN: INC R0
ADD A,   R0
DJNZ     R2     AGAIN 
MOV      46H, A
END
Please log in to add an answer.