As someone who pivoted into more computing-centric work from an unrelated scientific field, I can't recommend Ben's channel enough! The 6502 series really helped me put together a ground-up view of hardware that I don't think I could have gotten as quickly anywhere else. His networking series is a banger too.
(I had a decent circuitry background from my intro physics courses so YMMV)
I have a limited background in computing hardware, but I really appreciate the thought he puts into explaining both the why and how.
His 8-bit CPU videos are just amazing, and even at ~1 Hz, it’s incredible to think about what all happens. And then to think about going billions of times faster…
EDIT: just looked it up, and you’re right! The 65C02S has them. I thought I saw in the WDC programming manual that it was on the 16 bit version. I’m going to play around with those a bit :-)
Don't they also have BRA - BRanch Always, PHX PHY PLX PLY - PusH or PulL X or Y register, STZ - STore Zero, TRB - Test and Reset Bits, TSB - Test and Set Bits?
10 comments
[ 3.6 ms ] story [ 30.1 ms ] thread(I had a decent circuitry background from my intro physics courses so YMMV)
I learned a lot.
His 8-bit CPU videos are just amazing, and even at ~1 Hz, it’s incredible to think about what all happens. And then to think about going billions of times faster…
So if you're trying this code on an original 6502 it will not work, but easily modifiable to use the X or Y registers instead of A.
- RMB/SMB/BBR/BBS - Rockwell/later WDC only
- WAI/STP - later WDC only
EDIT: just looked it up, and you’re right! The 65C02S has them. I thought I saw in the WDC programming manual that it was on the 16 bit version. I’m going to play around with those a bit :-)