NES Emulator: Instruction Cycle

Building off my last post detailing the various addressing modes the 6502 CPU uses for loading operands to assembly instructions, I would like to devote this post to the CPU instruction cycle as it relates to the NES Emulator. The instruction cycle has 3 core components: fetch, decode, execute. Each time the CPU wants to… Continue reading NES Emulator: Instruction Cycle

NES Emulator: Addressing Modes

In this post, I would like to provide a summary of the different addressing modes on the CPU that our NES emulator is based off: the 8-bit 6502 microprocessor. This CPU utilizes a 16-bit memory address space, meaning there are 2^16 (65,536) bytes available for memory addresses, 0x0000 to 0xFFFF. Every execution cycle, the CPU… Continue reading NES Emulator: Addressing Modes

Hello world!

Hi there! My name is Andrew Dorgan, and I want to tell you about my start in computer science. I have been working in the healthcare sector for about 6 years as an occupational therapist. If you’re wondering what that is, don’t worry…nobody knows! Plain and simple, I help people who are sick, injured or… Continue reading Hello world!