2 ms·
Easy 6502 is pretty fun as well: http://skilldrick.github.io/easy6502/ http://skilldrick.github.io/easy6502/ Since it's a javascript 6502 emulator, you get may
by tyingq 10y ago
Easy 6502 is pretty fun as well: http://skilldrick.github.io/easy6502/ http://skilldrick.github.io/easy6502/
Since it's a javascript 6502 emulator, you get maybe 60% of the fun of programming for a C64, but just by visiting a web page. On a single page, they take you from making 3 colored pixels to a functioning snake game with explanations of what's happening along the way.
- jackhack 10y agoImpressive!! Though I've never seen the Accumulator referred to as the "A register"... LDA #$c0 ;Load the hex value $c0 into the A register
- tyingq 10y agoIt is referred to that way in old datasheets: http://imgur.com/a/GlDiz http://imgur.com/a/GlDiz
- tyingq 10y agoInteresting blog post that explains why one of the GP registers (EAX/RAX) in x86/x64 is also referred to as an accumulator: http://noeffclue.blogspot.com/2016/02/the-accumulator-register.html?m=1 http://noeffclue.blogspot.com/2016/02/the-accumulator-regist...
- dep_b 10y agoI remember doing an assembler class where you needed to load something in A and B before you were able to perform an operation on it.
- ddingus 10y agoOlder docs made this reference. I see someone else noted it too. In my peer group back then, it was "load A" for LDA, not "load accumulator"
- pcwalton 10y agoSometimes A appears explicitly in the syntax of the INC instruction, depending on the assembler.
- arundelo 10y agoAh, last time I looked at this I thought, "This is cool but it's too bad it doesn't have EQU or some other way to give symbolic names to constants." Now it does! define appleL $00 ; screen location of apple, low byte (Looks like the feature was added in November 2014.)