public void Mul_MultiplyRegisters_ResultAndOverflowAreCorrect() { var prev = new MutableState().Set(Register.A, 0x345).Set(Register.B, 0x678); var state = new Mul(new Reg(Register.A), new Reg(Register.B)).Apply(prev); Assert.AreEqual(0x2658, state.Get(Register.A)); Assert.AreEqual(0x15, state.Get(Register.O)); }