<< Previous | Next >>

> RRCA Rotate Right A Affect Carry Rabbit 2000/3000/4000 Instruction

> Opcode | Instruction | Clocks | Operation
> 0F | RRCA | 2 | A = {A[0],A[7,1]} CF = A[0]

> Flags | ALTD | IOI/IOE
> S | Z | L/V | C | F | R | SP | S | D
> - | - | - | · | · | · |  |  |

> #### Description

> Rotates to the right the data in A. Each bit moves to the next lowest-order bit position (bit 7 moves to bit 6, etc.) while bit 0 moves to both bit 7 and the C flag. See Figure 16 for an illustration.

<< Previous | Next >>