Linked by Thom Holwerda on Sun 8th Jul 2012 22:54 UTC
General Development "In this tiny ebook I'm going to show you how to get started writing 6502 assembly language. [...] I think it's valuable to have an understanding of assembly language. Assembly language is the lowest level of abstraction in computers - the point at which the code is still readable. Assembly language translates directly to the bytes that are executed by your computer's processor. If you understand how it works, you've basically become a computer magician." More of this, please.
Permalink for comment 526030
To read all comments associated with this story, please click here.
RE[2]: Comment by ilovebeer
by boxy on Mon 9th Jul 2012 16:29 UTC in reply to "RE: Comment by ilovebeer"
Member since:

I have seen lots of code like this from guys who never coded a single line of assembly:

uart_format = _8BITS_PER_BYTE || ENABLE_PARITY;

I'm assuming that was supposed to be a bit-wise or instead of a logical boolean or? Or (no pun intended) was that the point - that those programmers that don't know assembly don't know the difference between the | and || operators?

I myself used to make that same mistake, and I learned C doing a tutorial that was heavily geared towards graphics and mixed in a lot of assembly (Asphyxia set if tutorials if anyone remembers that demo group).

That said, 6502 assembler is kinda cool. I learned it by trying to implement an NES emulator (turns out this is way harder than I thought it would be because of various quirks in the NES hardware), albeit that was a modified 6502. If I recall correctly, the D (binary coded decimal) flag didn't actually do anything. But I digress.

Reply Parent Score: 2