Nintendo NES (Ricoh 2A03 / 6502) Registers
The programmer-visible register model is a accumulator / indexed register machine.
Registers: 6502-class programmer model (A, X, Y, S, PC, P); Ricoh 2A03 integrates audio and DMA.
The model exposes 5 addressable register slots backed by SLRegisterFile. No register slot is hardwired to zero in this architecture.
Status / condition state
Condition/zero/negative state is tracked by the model's flag fields (flagZ/flagN) and any architecture status register listed above. Flags are updated by ALU and compare operations.
Internal state
The physical device contains internal latches and buses used during address and data movement. SLeeLa promotes an internal element to a modeled register only when it affects bus visibility, cycle timing, interrupt restart, address formation, or instruction sequencing.
Sources
- https://en.wikipedia.org/wiki/Ricoh_2A03
- https://www.nesdev.org/wiki/CPU