News for hackers. Stuff that matters.
Re:Easy 6502 by hota_mazi on Monday May 30, 2022 @11:26PM (#31565830)
Well, if you really want to nitpick, there are quite a few instructions in the 6502 that are unnecessary.

For example, STX. You could emulate it with PHA, TXA, STA, PLA.

But overall, you are correct that the 6502 was extremely primitive in various ways, especially compare to the 8080 and followers.

Re:Easy 6502 by tom_ on Tuesday May 31, 2022 @02:47AM (#31566747)
You'd need PHP/PLP too! STX doesn't affect the N and Z flags.