Instruction Set ArchitectureIP2022 Users Manual
202
www.ubicom.com
RL W,fr
Rotate fr Left through Carry into W
Operation:
W || C = C || fr
Bits affected:
C
Opcode:
0011 010f ffff ffff
Description:
This instruction rotates the bits of the specified
data memory location left 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 left
by one bit position. C is shifted into the least
significant bit position and the most significant bit
is shifted out into C, as shown in the diagram
below.
Cycles:
1
515-075.eps
W Register
Data Memory Location
C Bit