8051 instruction :: Clr

CLR


Operation:CLR
Function:Clear Register
Syntax:CLR register

InstructionsOpCodeBytesCyclesFlags
CLR bit addr0xC221None
CLR C0xC311C
CLR A0xE411None


Description: CLR clears (sets to 0) all the bit(s) of the indicated register. If the register is a bit (including the carry bit), only the specified bit is affected. Clearing the Accumulator sets the Accumulator’s value to 0.









Post Your Comments Here :
 


User Login

Username :


Password :