Write an assembly language program to TRANSFER 1 data byte from a memory location with address 9000H to another memory location with
address 9500H using
i) Direct addressing mode,
#ORG 8000H
START: LDA 9000H
STA 9500H
HLT
ii) Indirect addressing mode.
#ORG 8000H
START: LXI H, 9000H
MOV A,M
LXI H ,9500H
MOV M,A
HLT
Post a Comment
0 Comments