public void RESTest() { PrivateObject z = new PrivateObject(new Z80(new Memory48K())); Z80_Accessor target = new Z80_Accessor(z); target.D = 255; target.RES(6, 2); Assert.IsTrue(target.D == 255 - 64, "Error: RES b, rn"); }