Intel Embedded Microcontroller Microscope & Magnifier User Manual


 
A-95
INSTRUCTION SET REFERENCE
Operation: MOV
(bit) (CY)
MOV CY,bit
Binary Mode Source Mode
Bytes: 43
States: 3† 2†
†If this instruction addresses a port (P
x
,
x
= 0–3), add 1 state.
[Encoding]
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:
Example: After executing the instruction
MOV DPTR,#1234H
DPTR contains 1234H (DPH contains 12H and DPL contains 34H).
Binary Mode Source Mode
Bytes: 33
States: 22
Hex Code in: Binary Mode = [Encoding]
Source Mode = [Encoding]
Operation: MOV
(DPTR) #data16
1 0 1 0 1 0 0 1 1 0 1 0 0 y y y direct addr
CY AC OV N Z
—————
[Encoding] 1 0 0 1 0 0 0 0 data hi data low