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