EasyManua.ls Logo

Rabbit 2000 - Page 132

Rabbit 2000
174 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
128 Rabbit 2000/3000 Microprocessor
Description
Rotates to the right the data in r (any of the registers A, B, C, D, E, H, or L). Each bit in the register 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 6 on page 127.
RRC r
Opcode Instruction Clocks Operation
——
CB 0F
CB 08
CB 09
CB 0A
CB 0B
CB 0C
CB 0D
RRC r
RRC A
RRC B
RRC C
RRC D
RRC E
RRC H
RRC L
4 (2,2)
4 (2,2)
4 (2,2)
4 (2,2)
4 (2,2)
4 (2,2)
4 (2,2)
4 (2,2)
r ={r[0],r[7,1]}; CF = r[0]
A = {A[0],A[7,1]}; CF = A[0]
B = {B[0],B[7,1]}; CF = B[0]
C = {C[0],C[7,1]}; CF = C[0]
D = {D[0],D[7,1]}; CF = D[0]
E = {E[0],E[7,1]}; CF = E[0]
H = {H[0],H[7,1]}; CF = H[0]
L = {L[0],L[7,1]}; CF = L[0]
Flags ALTD I/O
S Z L/V C F R SP S D
• • L • • •