public void RLCTest() { PrivateObject z = new PrivateObject(new Z80(new Memory48K())); Z80_Accessor target = new Z80_Accessor(z); target.Set16BitRegisters(2, 0x5828); target.Memory[0x5828] = 0x88; target.RLC(6); Assert.IsTrue((target.F & Flag.Carry) == Flag.Carry && target.Memory[0x5828] == 0x11, "Error: RLC(HL)"); }