 8051 Instruction Set Manual |
|
| MOVXThe MOVX instruction transfers data between the accumulator and external data memory. External memory may be addressed via 16-bits in the DPTR register or via 8-bits in the R0 or R1 registers. When using 8-bit addressing, Port 2 must contain the high-order byte of the address. See Also: MOV, MOVC | Bytes | 1 | | Cycles | 2 | | Encoding | | | Operation |
MOVX
(Ri) = A
| | Example |
MOVX @R0, A
|
| Bytes | 1 | | Cycles | 2 | | Encoding | | | Operation |
MOVX
A = (DPTR)
| | Example |
MOVX A, @DPTR
|
| Bytes | 1 | | Cycles | 2 | | Encoding | | | Operation |
MOVX
A = (Ri)
| | Example |
MOVX A, @R1
|
Related Knowledgebase Articles |
|