NAME:
TEST 3
SPRING 2019
1. Exchange the content of internal RAM location FFH and external RAM location FFOOH. Hint: Use the MOVX instruction to access the external data memory with DPTR as the addressing pointer (MOVX A,@DPTR and MOVX @DPTR,A).
ORG H0000
JMP MAIN
MAIN:
MOV A, @DPTR
MOVX A, @DPTR
MOV A, @FFH
MOV @FFH, A
MOV A, @FFOH
MOV @FFOH, A
END
1070