<< Previous | Next >>

> RRB A,BCDE
> RRB A,JKHL Rotate Right with A Rabbit 4000 Instruction

> Opcode | Instruction | Clocks | Operation
> DD 7F | RRB A,BCDE | 4 (2,2) | {A, BCDE} = {E, A, BCD}
> FD 7F | RRB A,JKHL | 4 (2,2) | {A, JKHL} = {L, A, JKH}

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

> #### Description

> Rotates 8 bits to the right with A the data in BCDE or JKHL. For example, the data in B moves to C, while the data in C moves to D. The low-order byte moves to A and A moves to the high-order byte. See the figure below.

> Figure 13: The bit logic of the "RRA 8,BCDE" instruction.

<< Previous | Next >>