![]() |
|
| << Previous | Next >> | |
| | |
SRL (IX+d)
SRL (IY+d) Shift Right Logical Rabbit 2000/3000/4000/5000 Instruction
DD CB d 3E SRL (IX+d) (IX + d) = {0,(IX + d)[7,1]}
CF = (IX + d)[0]FD CB d 3E SRL (IY+d) (IY + d) = {0,(IY + d)[7,1]}
CF = (IY + d)[0]
Rabbit 2000/3000/4000 Rabbit 5000
Description
Shifts to the right the bits of 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 is shifted to the next lowest-order bit position (Bit 7 shifts to bit 6, etc.) Bit 0 shifts to the C flag. Bit 7 is reset. See Figure 24 for an illustration.
| Rabbit Instructions | << Previous | Next >> | rabbit.com |