Michael Steil personal blog

How MOS 6502 illegal opcodes work

The original NMOS version of the MOS 6502, used in computers like the Commodore 64, the Apple II and the Nintendo Entertainment System (NES), is well-known for its illegal opcodes: Out of 256 possible opcodes, 151 are defined by the architecture, but many of the remaining 105 undefined opcodes do…
Points
156
HN comments
74
Submissions
3
Cited by
13 commenters

Hardware & ElectronicsSoftware Engineering2023

On Hacker News

SubmittedTitle on HNPointsComments
Jul 26, 2023How MOS 6502 illegal opcodes work by hasheddan15640
Mar 10, 2018How MOS 6502 Illegal Opcodes Work (2008) by ingve8217
Apr 20, 2025How MOS 6502 Illegal Opcodes Work (2008) by soegaard6617

Cited in comments

Linked from 14 Hacker News comments by 13 different people, from Apr 2012 to Dec 2025.

Most recent:

Search every comment that links here →

More from Michael Steil

All 17 posts →

Related posts from the same era