Intel 8XC251SQ MOV CY,bit Binary Mode Source Mode Bytes States, MOV DPTR,#data16, MOV DPTR,#1234H

Models: Embedded Microcontroller 8XC251SP 8XC251SA 8XC251SQ 8XC251SB

1 458
Download 458 pages 25.38 Kb
Page 347
Image 347

INSTRUCTION SET REFERENCE

Operation: MOV

(bit) (CY)

MOV CY,bit

Binary Mode Source Mode

Bytes:

4

3

 

 

States:

3†

 

2†

 

 

 

 

†If this instruction addresses a port (Px, x = 0–3), add 1 state.

[Encoding]

 

 

 

 

 

 

 

 

 

 

 

 

1 0 1 0

1 0 0 1

 

1 0 1 0

0

y y y

 

 

 

 

 

 

 

Hex Code in: Binary Mode = [A5][Encoding]

Source Mode = [Encoding]

direct addr

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

AC

OV

N

Z

 

 

 

 

 

 

 

 

 

 

Example: After executing the instruction

MOV DPTR,#1234H

DPTR contains 1234H (DPH contains 12H and DPL contains 34H).

Binary Mode Source Mode

Bytes:

 

3

3

States:

 

2

2

[Encoding]

 

 

 

1 0 0 1

 

0 0 0 0

 

 

 

 

Hex Code in: Binary Mode = [Encoding] Source Mode = [Encoding]

data hi

data low

Operation: MOV

(DPTR) #data16

A-95

Page 347
Image 347
Intel 8XC251SQ, 8XC251SA, 8XC251SP manual MOV CY,bit Binary Mode Source Mode Bytes States, MOV DPTR,#data16, MOV DPTR,#1234H