TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

How MOS 6502 Illegal Opcodes Work (2008)

66 pointsby soegaard29 days ago

6 comments

xp8426 days ago
I really enjoy how popular retro tech of the 6502 era has become (and thus how much content is created about the subject) from ~= 2017ish to now. For me it started on YouTube with 8-bit-guy and Adrian, but clearly it&#x27;s in the zeitgeist in general, in a way that I don&#x27;t feel like it was in the &#x27;00s or early &#x27;10s.<p>Those of you who are Gen X and grew up with parents who bought you computers at a young age, you are so fortunate. Reading those manuals and learning to code in assembly gave that cohort an amazing fundamental understanding of computing. It&#x27;s similar to the understanding of the Internet&#x27;s underpinnings that we Millennial geeks gained by experimenting with HTML and the Web, before everything was sealed up and packaged for consumption.<p>But I sure would love to experience some long summers as a kid in the early 80s with nothing but time and a Commodore 64 and its manual.
评论 #43774903 未加载
评论 #43774550 未加载
评论 #43776500 未加载
评论 #43774192 未加载
msarnoff26 days ago
Michael’s blog is one of my favorites. His “Ultimate Guide” talks are great and I rewatch them at least once a year.<p>Ultimate Guide to the C64: <a href="https:&#x2F;&#x2F;youtu.be&#x2F;ZsRRCnque2E?si=v4qQ9mCx3MafEwAq" rel="nofollow">https:&#x2F;&#x2F;youtu.be&#x2F;ZsRRCnque2E?si=v4qQ9mCx3MafEwAq</a><p>Ultimate Guide to the Game Boy: <a href="https:&#x2F;&#x2F;youtu.be&#x2F;HyzD8pNlpwI?si=gn-F8yuRPJKoXmC7" rel="nofollow">https:&#x2F;&#x2F;youtu.be&#x2F;HyzD8pNlpwI?si=gn-F8yuRPJKoXmC7</a><p>Ultimate Guide to the Apollo Guidance Computer: <a href="https:&#x2F;&#x2F;youtu.be&#x2F;xx7Lfh5SKUQ?si=3qbvMohcGo6mBLrJ" rel="nofollow">https:&#x2F;&#x2F;youtu.be&#x2F;xx7Lfh5SKUQ?si=3qbvMohcGo6mBLrJ</a>
评论 #43775786 未加载
jmount26 days ago
I grew up on 8088 and then 6502 and 8086 assembly. The 8086 had more registers and more useful variations of registers. However, it emotionally felt like after eliminating the accumulator and stack pointer: the 6502 had general purpose registers (though only 2 of them!) and that the 8086 did not have any general purpose registers. Even though there were more 8086 registers, each one had a different &quot;purpose&quot;: base register, counter, data, base pointer, source index, destination index. These specializations never felt like a hardware optimization, but a series of horrific programming constraints.
评论 #43778164 未加载
joelshep25 days ago
This is great: thanks for sharing it. In 1983, Compute! magazine published yet another article on these opcodes: <a href="https:&#x2F;&#x2F;www.atarimagazines.com&#x2F;compute&#x2F;issue41&#x2F;Extra_Instructions.php" rel="nofollow">https:&#x2F;&#x2F;www.atarimagazines.com&#x2F;compute&#x2F;issue41&#x2F;Extra_Instruc...</a> . Now I can finally understand the why, not just the what.
评论 #43787278 未加载
rzzzt25 days ago
The technology (NMOS) is more important than the manufacturer (MOS). The CMOS variants from Rockwell and WDC irons these opcodes out to no-nonsense NOPs.
monocasa26 days ago
(2008)
评论 #43775053 未加载
评论 #43774220 未加载