Operation:
MOV
(bit) ← (CY)
MOV CY,bit
Binary Mode
Bytes:
States:
†If this instruction addresses a port (P x , x = 0–3), add 1 state.
[Encoding]
1 0 1 0
1 0 0 1
Hex Code in:
Binary Mode = [A5][Encoding]
Source Mode = [Encoding]
Operation:
MOV
(CY) ← (bit)
MOV DPTR,#data16
Function:
Load data pointer with a 16-bit constant
Description:
Loads the 16-bit data pointer (DPTR) with the specified 16-bit constant. The high byte of the
constant is loaded into the high byte of the data pointer (DPH). The low byte of the constant
is loaded into the low byte of the data pointer (DPL).
Flags:
CY
—
Example:
After executing the instruction
MOV DPTR,#1234H
DPTR contains 1234H (DPH contains 12H and DPL contains 34H).
Binary Mode
Bytes:
States:
[Encoding]
1 0 0 1
Hex Code in:
Binary Mode = [Encoding]
Source Mode = [Encoding]
Operation:
MOV
(DPTR) ← #data16
Source Mode
4
3
3†
2†
1 0 1 0
AC
—
Source Mode
3
3
2
2
0 0 0 0
INSTRUCTION SET REFERENCE
0
y y y
OV
N
—
—
data hi
data low
direct addr
Z
—
A-95