An ALP for 8085. Multiplication table on any number between 0-9 upto nX10 if n is the number. Input the number at 9000H and see nX(0,1,2,3.....,9) from 8500H memory location to 850AH memory location.
LDA 9000H
LXI H,8500H
MVI M,00H
INX H
MVI C,08H
STAX H
INX H
LOOP ADD A
STAX H
INX H
DCR C
JNZ LOOP
RST 1
Happy Programming
LDA 9000H
LXI H,8500H
MVI M,00H
INX H
MVI C,08H
STAX H
INX H
LOOP ADD A
STAX H
INX H
DCR C
JNZ LOOP
RST 1
Happy Programming
Thank you very much :)
ReplyDeleteThis code is not error free
ReplyDeleteThis code doesnt work!!
Deletestax h is not allowed
ReplyDelete