Write an assembly language program to EXCHANGE the locations of two numbers stored in 9500H and 9501H.
#ORG 8000H
START: LDA 9500H
MOV B,A
LDA 9501H
STA 9500H
MOV A,B
STA 9501H
HLT
Write an assembly language program to EXCHANGE the locations of two numbers stored in 9500H and 9501H.
#ORG 8000H
START: LDA 9500H
MOV B,A
LDA 9501H
STA 9500H
MOV A,B
STA 9501H
HLT
Post a Comment
0 Comments