Share this page

Kodiak64 Newsletter

100% free, 100% spam-free!

(You can view a sample here).


Lower Case Mnemonics

Posted on

By Kodiak


Why do so many 6502 coders nowadays write their code in lower case?

I'm not judging anyone for doing it, but personally, I dislike it when I see:

lda #$00
sta $d020

instead of:

LDA #$00
STA $D020

Back in the day, going by the Commodore 64 Programmer's Reference Guide (one of many quotable examples), 6502 was almost always written in upper case, as per this page from the said guide:

Page from the C64 Programmer's Reference Guide

One theory I have is that since many if not most other computer languages today are popularly written in lower case, it has seemingly become de rigeur to apply the practice to coding 6502.

And for the record, this website that you are reading these words on, for instance, is coded with HTML, PHP, JavaScript and CSS, all of which I write in lower case, but there is no law against writing web markup in capitals either.

Related:

Why I Hate C64 Pseudo Code

Interested in coding on the C64? Check out these books on Amazon (and yes, I get a tiny pittance if you buy via any banner below):



____


PS: Don't forget to check the home page regularly for more articles like this and visit the Everything64 Forum to comment further.

And of course, kindly follow me on Twitter and subscribe to my YouTube channel!

Share this page

Kodiak64 Newsletter

100% free, 100% spam-free!

(You can view a sample here).