Instruction Set ArchitectureIP2022 Users Manual
206
www.ubicom.com
RR W,fr
Rotate fr Right through Carry into W
Operation:
W = >> fr
Bits affected:
C
Opcode:
0011 000f 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 W. The data memory
location is left unchanged.
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-074.eps
W Register
Data Memory Location
C Bit