Ex6502.CPU (ex6502 v0.1.0) View Source
An emulation of the 6502 CPU as produced by WDC (WDC 65C02).
The CPU has 6 registers, 3 of which are of general use.
a- 8-bit accumulatorx- 8-bit general usey- 8-bit general usesp- 8-bit stack pointerp- 8-bit processor status flags. The bits represent, from MSB to LSB:N- NegativeV- Overflow-- UnusedB- Break commandD- Decimal modeI- Interrupt disableZ- ZeroC- Carry
pc- 16-bit program counter
Special memory addresses include:
$FFFA- non masking interrupt$FFFC- reset$FFFE- IRQ