protected override void ExecuteImpl(Mode[] modes, BigInteger[] p) { var input = Vm.GetInput(out var hasInput); if (hasInput) { Sm.SetValueOffset(1, modes, input); Sm.SetPointer(Sm.GetPointer() + 2); } Vm.PauseAwaitingInput(); }
protected override void ExecuteImpl(Mode[] modes, BigInteger[] p) { Sm.SetValueOffset(3, modes, p[0] * p[1]); Sm.SetPointer(Sm.GetPointer() + 4); }