EasyManua.ls Logo

Intel 8XC251SA - Page 346

Intel 8XC251SA
458 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
8XC251SA, SB, SP, SQ USER’S MANUAL
A-94
Example: The CY flag is set, input Port 3 contains 11000101B, and output Port 1 contains 35H
(00110101B). After executing the instruction sequence
MOV P1.3,CY
MOV CY,P3.3
MOV P1.2,CY
the CY flag is clear and Port 1 contains 39H (00111001B).
Variations
MOV bit51,CY
Binary Mode Source Mode
Bytes: 22
States: 2† 2†
†If this instruction addresses a port (P
x
,
x
= 0–3), add 2 states.
Hex Code in: Binary Mode = [Encoding]
Source Mode = [Encoding]
Operation: MOV
(bit51) (CY)
MOV CY,bit51
Binary Mode Source Mode
Bytes: 22
States: 1† 1†
†If this instruction addresses a port (P
x
,
x
= 0–3), add 1 state.
Hex Code in: Binary Mode = [Encoding]
Source Mode = [Encoding]
Operation: MOV
(CY)(bit51)
MOV bit,CY
Binary Mode Source Mode
Bytes: 43
States: 4† 3†
†If this instruction addresses a port (P
x
,
x
= 0–3), add 2 states.
[Encoding]
Hex Code in: Binary Mode = [A5][Encoding]
Source Mode = [Encoding]
[Encoding] 1 0 0 1 0 0 1 0 bit addr
[Encoding] 1 0 1 0 0 0 1 0 bit addr
1 0 1 0 1 0 0 1 1 0 0 1 0 y y y direct addr

Table of Contents

Other manuals for Intel 8XC251SA

Related product manuals