Пример #1
0
 public BranchEventArgs(CPU.DecodedInstruction instruction, int instructionIndex, bool taken)
 {
     //this is the branch instruction that was taken, and the index of said instruction
     CurrentIR         = instruction;
     CurrentInstrIndex = instructionIndex;
     this.taken        = taken;
 }
Пример #2
0
 public ExecuteEventArgs(CPU.DecodedInstruction instr)
 {
     this.CurrentInstr            = instr.binary;
     this.CurrentInstructionIndex = instr.index;
 }
Пример #3
0
 public DecodeEventArgs(CPU.DecodedInstruction decodedInstr)
 {
     CurrentDecodedInstr     = decodedInstr;
     CurrentInstructionIndex = decodedInstr.index;
 }