Exemple #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;
 }
Exemple #2
0
 public ExecuteEventArgs(CPU.DecodedInstruction instr)
 {
     this.CurrentInstr            = instr.binary;
     this.CurrentInstructionIndex = instr.index;
 }
 public DecodeEventArgs(CPU.DecodedInstruction decodedInstr)
 {
     CurrentDecodedInstr     = decodedInstr;
     CurrentInstructionIndex = decodedInstr.index;
 }