Example #1
0
        protected SimInstruction GetInstruction(ulong address)
        {
            SimInstruction instruction = null;

            InstructionCache.TryGetValue(address, out instruction);

            return(instruction);
        }
Example #2
0
 protected virtual void ExecuteOpcode(SimInstruction instruction)
 {
     instruction.Opcode.Execute(this, instruction);
 }
Example #3
0
 public void AddInstruction(ulong address, SimInstruction instruction)
 {
     //Debug.Assert(!InstructionCache.ContainsKey(address), instruction.ToString());
     InstructionCache.Add(address, instruction);
 }
Example #4
0
 protected virtual void ExecuteOpcode(SimInstruction instruction)
 {
     instruction.Opcode.Execute(this, instruction);
 }
Example #5
0
 public void AddInstruction(ulong address, SimInstruction instruction)
 {
     //Debug.Assert(!InstructionCache.ContainsKey(address), instruction.ToString());
     InstructionCache.Add(address, instruction);
 }
Example #6
0
 public void Add(ulong address, SimInstruction instruction)
 {
     CPU.AddInstruction(address, instruction);
 }
Example #7
0
 public void Add(SimInstruction instruction)
 {
     CPU.AddInstruction(Address, instruction);
     Address = Address + instruction.OpcodeSize;
 }
Example #8
0
 public void AddInstruction(ulong address, SimInstruction instruction)
 {
     InstructionCache.Add(address, instruction);
 }