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