News for hackers. Stuff that matters.
Re:6502 “Illegal” Opcodes Demystified by dkersten on Sunday June 06, 2021 @07:55AM (#27412529)
Yeah, it was my understanding that the opcodes directly encoded what we would nowadays call microcode, that is, bits which selected which CPU component acted on which data[1], so these illegal instructions are just unused bit patterns that select various operations just by having those bits set, not something that was ever intended to be actually used. So it would make sense that they're not documented, since they're entirely incidental.

[1] https://www.youtube.com/watch?v=dXdoim96v5A

There are no comments on this comment yet.