Instruction Set ArchitectureIP2022 Users Manual
204
www.ubicom.com
RR fr
Rotate fr Right through Carry into fr
Operation:
C || fr = fr || C
Bits affected:
C
Opcode:
0011 001f ffff ffff
Description:
This instruction rotates the bits of the specified
data memory location right through the C bit and
moves the 8-bit result into the data memory
location.
The bits obtained from the register are shifted
right by one bit position. C is shifted into the most
significant bit position and the least significant bit
is shifted out into C, as shown in the diagram
below.
Cycles:
1
515-045.eps
Data Memory Location
After Instruction
Data Memory Location
Before Instruction
C Bit