Join Nostr
2025-07-20 08:31:56 UTC
in reply to

Screwtapello on Nostr: Ah, I see! I remember getting confused by some of the descriptions in the WDC 65C02 ...

Ah, I see!

I remember getting confused by some of the descriptions in the WDC 65C02 data sheet, like the way that the "Absolute" addressing mode is described as taking 4 cycles, but JMP with the "Absolute" addressing mode takes only 3.

I spent a bunch of time comparing the Synertek 6502 programming manual with the WDC's docs, and various "differences between 6502 and 65C02" descriptions to figure out what was actually going on, and compiled the result into a machine-readable table:

https://gitlab.com/Screwtapello/isa65xx/-/blob/68464350f4ec4414b956f25ea0d6fd8fd93531eb/opcodes_expected.tsv

(it doesn't have the Rockwell bit-twiddling instructions, or WDC's STP or HLT, though)