Re:A quick start guide to Commodore 64 assembly programming ...
by arundelo on Friday April 14, 2017 @11:53AM
(#14115155)
Ah, 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.)
Re:A quick start guide to Commodore 64 assembly programming ...
by jackhack on Friday April 14, 2017 @11:12AM
(#14114906)
Impressive!!
Though I've never seen the Accumulator referred to as the "A register"...
LDA #$c0 ;Load the hex value $c0 into the A register
Re:A quick start guide to Commodore 64 assembly programming ...
by tyingq on Friday April 14, 2017 @11:27AM
(#14114990)
It is referred to that way in old datasheets: http://imgur.com/a/GlDiz
Re:A quick start guide to Commodore 64 assembly programming ...
by tyingq on Saturday April 15, 2017 @12:22AM
(#14119384)
Interesting 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-regist...
Re:A quick start guide to Commodore 64 assembly programming ...
by ddingus on Friday April 14, 2017 @11:52AM
(#14115152)
Older 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"
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.