public void RRATest() { PrivateObject z = new PrivateObject(new Z80(new Memory48K())); Z80_Accessor target = new Z80_Accessor(z); target.A = 0xe1; target.Reset(Flag.Carry); target.RRA(); Assert.IsTrue(target.A == 0x70 && (target.F & Flag.Carry) == Flag.Carry, "Error: RRA"); }