Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
6502tube: fix behavior of opcode #2.
This was a Klaus Dormann test suite failure. See https://www.stardot.org.uk/forums/viewtopic.php?p=440921#p440921 and #239 Opcode 02 is HLT (undocumented) on the NMOS 6502 but is a NOP on the 65C02. The Dormann test suite tested that this opcode causes the byte immediately after it to be skipped rather than executed, i.e. it is a two-byte instruction. This commit makes that so and fixes the test failure.
- Loading branch information