Arithmetic // RLC (Rotate Left Circular)
The contents of the memory address specified by the sum of the contents of Index Register IY and the two’s-complement displacement integer, d, are rotated left 1 bit position. The contents of bit 7 are copied to the Carry flag and also to bit 0. Bit 0 is the least-significant bit.
Index Register IY contains 1000h and memory location 1002h contain the following data: 76534 2 10 10010 0 00 Upon the execution of an RLC (IY+2h) instruction, memory location 1002h and the Carry flag now contain: C 76534 2 10 1 00001 0 01
rlc b 0xCB00,
2 bytes, 8Trlc c 0xCB01,
2 bytes, 8Trlc d 0xCB02,
2 bytes, 8Trlc e 0xCB03,
2 bytes, 8Trlc h 0xCB04,
2 bytes, 8Trlc l 0xCB05,
2 bytes, 8Trlc (hl) 0xCB06,
2 bytes, 15Trlc a 0xCB07,
2 bytes, 8Trlc (ix+*),b 0xDDCB**00,
4 bytes, 23Trlc (ix+*),c 0xDDCB**01,
4 bytes, 23Trlc (ix+*),d 0xDDCB**02,
4 bytes, 23Trlc (ix+*),e 0xDDCB**03,
4 bytes, 23Trlc (ix+*),h 0xDDCB**04,
4 bytes, 23Trlc (ix+*),l 0xDDCB**05,
4 bytes, 23Trlc (ix+*) 0xDDCB**06,
4 bytes, 23Trlc (ix+*),a 0xDDCB**07,
4 bytes, 23Trlc (iy+*),b 0xFDCB**00,
4 bytes, 23Trlc (iy+*),c 0xFDCB**01,
4 bytes, 23Trlc (iy+*),d 0xFDCB**02,
4 bytes, 23Trlc (iy+*),e 0xFDCB**03,
4 bytes, 23Trlc (iy+*),h 0xFDCB**04,
4 bytes, 23Trlc (iy+*),l 0xFDCB**05,
4 bytes, 23Trlc (iy+*) 0xFDCB**06,
4 bytes, 23Trlc (iy+*),a 0xFDCB**07,
4 bytes, 23T