Create tests per instruction.
Validate addressing modes.
Run test ROMs (e.g., Klaus Dormann's 6502 tests, nestest.nes) for full coverage.
Observation:
Ensure comprehensive tests for:
- CPU's interaction with the
Bus (reading opcodes, operands, writing results).
- Correct execution and impact of all implemented instructions, including those involving the Stack (PHA, PLA, PHP, PLP, JSR, RTS).
- Accurate flag manipulation by instructions.
Create tests per instruction.
Validate addressing modes.
Run test ROMs (e.g., Klaus Dormann's 6502 tests, nestest.nes) for full coverage.
Observation:
Ensure comprehensive tests for:
Bus(reading opcodes, operands, writing results).