DESCRIPTION OF INSTRUCTIONS
319
60. MOV DPTR, #data (Move immediate data to data pointer)
10010000
70
Instruction code
#data
#data
Operation
Number of bytes
Number of cycles
Flags
(PSW)
Description
Example MOV DPTR, #0AF5H
Instruction code
: Byte 1
I7 I6 I5 I4 I3 I2 I1 I0
70
Byte 3
(DPTR)←#data
(DPH)←I
8~15
(DPL)←I0~7
:
C AC F0 RS1 RS0 OV F1 P
:
:
:
A 16-bit immediate data value is copied to the data pointer
(DPH·DPL).
:
3
2
I15 I14 I13 I12 I11 I10 I9 I8
70
Byte 2
10010000
70
Byte 1
Before execution After execution
:
DPH
15 8
1111000000001111
70
15 8
0000101011110101
70
00001010
70
Byte 2
11110101
70
Byte 3
DPL DPH DPL