EasyManua.ls Logo

Rabbit 2000 - RR (IX+D)

Rabbit 2000
120 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...
Instruction Reference Manual 87
Description
Rotates to the right with the Carry Flag, CF, the data whose address is:
the data in word register HL, or
the sum of the data in index register IX and a displacement d, or
the sum of the data in index register IY and a displacement d.
Bit 0 moves to the CF, bits 1 through 7 move to the next lowest-order bit position, and the CF moves to bit 7.
See Figure 3 below.
RR (HL)
RR (IX+d)
RR (IY+d)
Opcode Instruction Clocks Operation
CB 1E RR (HL) 10 (2,2,1,2,3) {(HL),CF} = {CF,(HL)}
DD CB d 1E RR (IX+d) 13 (2,2,2,2,2,3) {(IX+d),CF} = {CF,(IX+d)}
FD CB d 1E RR (IY+d) 13 (2,2,2,2,2,3) {(IY+d),CF} = {CF,(IY+d)}
Flags ALTD I/O
S Z L/V C F R SP S D
L
Figure 3: The bit logic for the RR instruction.
CF70

Other manuals for Rabbit 2000