Instruction Set
C500 Family
Semiconductor Group
4-52
1998-04-01
MOV
DPTR, #data16
Function:
Load data pointer with a 16-bit constant
Description:
The data pointer is loaded with the 16-bit constant indicated. The 16 bit constant is
loaded into the second and third bytes of the instruction. The second byte (DPH) is
the high-order byte, while the third byte (DPL) holds the low-order byte. No flags are
affected.
This is the only instruction which moves 16 bits of data at once.
Example:
The instruction
MOV
DPTR, #1234H
will load the value 1234H into the data pointer: DPH will hold 12H and DPL will hold
34H.
Operation:
MOV
(DPTR)
¬
#data15-0
DPH
DPL
¬
#data15-8 #data7-0
Bytes:
3
Cycles:
2
Encoding:
1 0 0 1
0 0 0 0
immed. data 15 . . . 8
immed. data 7 . . . 0