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