Write an assembly language program to TRANSFER THE BLOCK of sixteen data bytes which are stored starting from memory location 9500H into the new memory locations starting from 9600. Given Data: 01H, 02H, 03H, 04H, 05H, 06H, 07H, 08H, 09H, 0AH, 0BH, 0CH, 0DH, 0EH, 0FH, 10H
#ORG 8000H
START: LXI D ,9500H
LXI H ,9600H
MVI C,10H
LOOP:LDAX D
MOV M,A
INX D
INX H
DCR C
JNZ LOOP
HLT
Post a Comment
0 Comments