PIC16CXX Instruction Set


RRF


Syntax : RRF f,d

Description : The contents of register 'f' are rotated right one bit through the Carry Flag. 
              If 'd' is 0 the result is placed into W register.
              If 'd' is 1 the result is placed back in register 'f'.
             

Function : f<n> → d<n-1>,   f<0> → C,   C → d<7>

Hex code : 0Cff

Bit field:
00 1100 dfff ffff

Words : 1

Cycles : 1

Affected flags : Carry

See also : RLF
Previous    Upper level    Next