Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
public static void FetchInstruction(Cpu cpu, IBus bus) { if (cpu._nmi && cpu._nmiCycle != cpu._totalCycles - 1) { cpu.CheckForNmi(); } else { var instruction = bus.Read(cpu.CpuState.PC); cpu.ExecuteInstruction(instruction); } }