Intel Embedded Microcontroller Microscope & Magnifier User Manual


 
8XC251SA, SB, SP, SQ USER’S MANUAL
A-44
Binary Mode Source Mode
Bytes: 11
States: 11
Hex Code in: Binary Mode = [Encoding]
Source Mode = [Encoding]
Operation: CLR
(A) 0
CLR bit
Function: Clear bit
Description: Clears the specified bit. CLR can operate on the CY flag or any directly addressable bit.
Flags: Only for instructions with CY as the operand.
Example: Port 1 contains 5DH (01011101B). After executing the instruction
CLR P1.2
port 1 contains 59H (01011001B).
Variations
CLR bit51
Binary Mode Source Mode
Bytes: 43
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: CLR
(bit51) 0
CLR CY
Binary Mode Source Mode
Bytes: 11
States: 11
[Encoding] 1 1 1 0 0 1 0 0
CY AC OV N Z
————
[Encoding] 1 1 0 0 0 0 1 0 Bit addr
[Encoding] 1 1 0 0 0 0 1 1