private void ExecuteCycle() { var(instruction, operands) = _Program.Fetch(State); _InstructionSet[instruction](State, operands); }
public Executor(InstructionSet <VmState, Instruction, Operands> instructionSet, IProgram <VmState, Instruction, Operands> program, VmState vmState) { _InstructionSet = instructionSet; _Program = program; State = vmState; }