MOV A,R 1
MOV R0,A
(2) The contents of the external RAM 0020H unit are sent to R0.
MOV DPTR,#0020H
MOVX A,@DPTR
MOV R0,A
(3) The contents of the external RAM 1000H unit are sent to the internal RAM20H unit.
MOV DPTR,# 1000H
MOV R0,#20H
MOVX A,@DPTR
MOV @R0,A
(4) The contents of the external RAM 1000H unit are sent to the internal RAM 20H unit.
Same as (3)
(5) The contents of the external ROM 2000H unit are sent to R0.
MOV DPTR,#2000H
MOVC·A·DPTR
MOV R0,A
(6) The contents of the external ROM 2000H unit are sent to the internal RAM 20H unit.
MOV DPTR,#2000H
MOV R0,#20H
MOVC·A·DPTR
MOV @R0,A
(7) The contents of the external ROM 2000H unit are sent to the external RAM 0020H unit.
MOV DPTR,#2000H
MOV R0,#20H
MOVC·A·DPTR
MOVX @R0,A