/opcodes/rlc

Description

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.

Example

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

Opcodes