public void Execute(IntCodeVm vm, StateMachine sm) { Vm = vm; Sm = sm; var(modes, p) = GetData(Sm); ExecuteImpl(modes, p); }
protected CommandBase() { Sm = new StateMachine(new Dictionary <BigInteger, BigInteger>()); Vm = new IntCodeVm("0"); }