public void RSTTest() { PrivateObject z = new PrivateObject(new Z80(new Memory48K())); Z80_Accessor target = new Z80_Accessor(z); target.PC = 0x15b3; target.RST(0x18); Assert.IsTrue(target.PC == 0x0018, "Error: RST"); }