8051 instruction :: Rrc

RRC


Operation:RRC
Function:Rotate Accumulator Right Through Carry
Syntax:RRC A

InstructionsOpCodeBytesCyclesFlags
RRC A0x1311C

Description: Shifts the bits of the Accumulator to the right. The right-most bit (bit 0) of the Accumulator is loaded into the Carry Flag, and the original Carry Flag is loaded into bit 7. This function can be used to quickly divide a byte by 2.









Post Your Comments Here :
 


User Login

Username :


Password :