![]() |
|
| << Previous | Next >> | |
| | |
RL (IX+d)
RL (IY+d) Rotate Left Affect Carry Rabbit 2000/3000/4000/5000 Instruction
DD CB d 16 RL (IX+d) {CF,(IX + d)} = {(IX + d),CF} FD CB d 16 RL (IY+d) {CF,(IY + d)} = {(IY + d),CF}
Rabbit 2000/3000/4000 Rabbit 5000
Description
Rotates to the left with the C flag the data whose address is:
Bits 0 through 6 move to the next highest-order bit position (bit 0 moves to bit 1, etc.) while the C flag moves to bit 0 and bit 7 moves to the C flag. See Figure 3 for an illustration.
Example
If the sum of IX and d is 0x4545, the byte in the memory location 0x4545 is 0110 1010, and the C flag is set, then after the execution of the operation:
RL (IX+d)the byte in memory location 0x4545 will contain 1101 0101 and the C flag will be reset.
| Rabbit Instructions | << Previous | Next >> | rabbit.com |