protected SimInstruction GetInstruction(ulong address) { SimInstruction instruction = null; InstructionCache.TryGetValue(address, out instruction); return(instruction); }
protected virtual void ExecuteOpcode(SimInstruction instruction) { instruction.Opcode.Execute(this, instruction); }
public void AddInstruction(ulong address, SimInstruction instruction) { //Debug.Assert(!InstructionCache.ContainsKey(address), instruction.ToString()); InstructionCache.Add(address, instruction); }
public void Add(ulong address, SimInstruction instruction) { CPU.AddInstruction(address, instruction); }
public void Add(SimInstruction instruction) { CPU.AddInstruction(Address, instruction); Address = Address + instruction.OpcodeSize; }
public void AddInstruction(ulong address, SimInstruction instruction) { InstructionCache.Add(address, instruction); }