![]() |
|
| << Previous | Next >> | |
| | |
RRC (IX+d)
RRC (IY+d) Rotate Right Affect Carry Rabbit 2000/3000/4000/5000 Instruction
DD CB d 0E RRC (IX+d) (IX + d) = {(IX + d)[0],
(IX + d)[7,1]}
CF = (IX + d)[0]FD CB d 0E RRC (IY+d) (IY + d) = {(IY + d)[0],
(IY + d)[7,1]}
CF = (IY + d)[0]
Rabbit 2000/3000/4000 Rabbit 5000
Description
Rotates to the right the data whose address is:
- the sum of IX and the 8-bit signed displacement d, or
- the sum of IY and the 8-bit signed displacement d.
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.
| Rabbit Instructions | << Previous | Next >> | rabbit.com |