PIC16C5X 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 : 30f

Bit field:
0011 00df ffff

Words : 1

Cycles : 1

Affected flags : Carry

See also : RLF
Previous    Upper level    Next