Professional Documents
Culture Documents
Exp1-Data Transfer or Exchange Between Specified Memory Locations
Exp1-Data Transfer or Exchange Between Specified Memory Locations
Exp1-Data Transfer or Exchange Between Specified Memory Locations
locations
Aim:
..............................................................................................................................................
Algorithm:
Step1:...........................................
Step2:...........................................
............................................
Program
ORG 00h
mov @R1,A
inc R0
inc R1
END //end
Result
Aim:
..............................................................................................................................................
Algorithm:
Step1:...........................................
Step2:...........................................
............................................
Program
ORG 00h
xch A,@R1
MOV @R0,A
inc R0
inc R1
END //end
Result: