public OpActions ResetActions() { OpActions result = this.actions; this.actions = new OpActions(); return(result); }
public Op AddOp(byte code, int pc, int deep, DataWord energy, OpActions actions) { Op op = new Op(); op.Code = (OpCode)code; op.PC = pc; op.Deep = deep; op.Energy = energy.ToBigInteger(); op.Actions = actions; this.ops.Add(op); return(op); }