Write an assembly language program to FILL UP memory locations starting from the address A000H to A004H with ABH.
#ORG 8000H
START: LXI H,A000H
MVI C,06H
MVI A,ABH
LOOP: MOV M,A
INX H
DCR C
JNZ LOOP
HLT
Write an assembly language program to FILL UP memory locations starting from the address A000H to A004H with ABH.
#ORG 8000H
START: LXI H,A000H
MVI C,06H
MVI A,ABH
LOOP: MOV M,A
INX H
DCR C
JNZ LOOP
HLT
Post a Comment
0 Comments