DR805x Instructions set details
- 55 -
3.26.
MOVX
MOVX <dest-byte>, <src-byte>
Move external
The MOVX instructions transfer data between the accumulator and a
byte of external data memory, hence the X appended to MOV. There
are two types of instructions, differing in whether they provide an eight-
bit or sixteen-bit indirect address to the external data RAM.
In the first type, the contents of R0 or R1 in the current register bank
provide an eight-bit address, in the second type of MOVX instructions,
the data pointer generates a sixteen-bit address. Please refer to the
section “External Data Memory” of core specification for more
information.
MOVX A, @R
I
(PC)
←
(PC) + 1
(A)
←
((Ri))
1
3
Instruction:
Function:
Description:
3.26.1.
Operation:
Bytes:
Cycles:
Encoding:
1
1
1
0
0
0
1
i
3.26.2.
Operation:
MOVX A, @DPTR
(PC)
←
(PC) + 1
(A)
←
((DPTR))
1
2
Bytes:
Cycles:
Encoding:
1
1
1
0
0
0
0
0
All trademarks mentioned in this document
are trademarks of their respective owners.
http://www.DigitalCoreDesign.com
http://www.dcd.pl
Copyright 1999-2003 DCD – Digital Core Design. All Rights Reserved.