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.
Thread beginning with comment 525936
To view parent comment, click here.
To read all comments associated with this story, please click here.
RE: Why 6502 vs x86?
by xylifyx on Mon 9th Jul 2012 05:51 UTC in reply to "Why 6502 vs x86?"
Member since:

Perhaps ARM assembly is more appropriate. It is a contemporary architecture and it is used in 100-epsilon percent of all mobile devices.

A cheap board like the Raspberry Pi has IO pins that let you control stuff where timing is important and assembly could be appropriate.

Another possibility is the Arduino board which uses a completely different architecture, . There is no OS on top, only a small bootloader. And assembly is very appropriate to use here.

Edited 2012-07-09 05:53 UTC

Reply Parent Score: 3

RE[2]: Why 6502 vs x86?
by moondevil on Mon 9th Jul 2012 07:07 in reply to "RE: Why 6502 vs x86?"
moondevil Member since:


Better yet, trying to make something like a Lisp Machine, Smalltalk environment, Native Oberon or Lillith.

Rediscovering the OS development with new (old) approaches, besides the usual C one from nowadays.

Reply Parent Score: 2

RE[2]: Why 6502 vs x86?
by DeepThought on Mon 9th Jul 2012 07:45 in reply to "RE: Why 6502 vs x86?"
DeepThought Member since:

ARM assembly is much more complex than 6502.
Also, learning assembler on a Linux machine is pain.
How much code do you have to write to get a single pixel on the screen ?
Best is to have a small eval board with lots of LEDs with an Cortex-M3 on it and a debugger.
E.g. the Stellaris boards, which also often come with LCD.
Also the Raspberry Pi uses an ARM11, which is not widely used these days.

Reply Parent Score: 1

RE[3]: Why 6502 vs x86?
by zima on Wed 11th Jul 2012 03:23 in reply to "RE[2]: Why 6502 vs x86?"
zima Member since:

ARM11, which is not widely used these days

That's a joke, right?

Reply Parent Score: 2

RE[2]: Why 6502 vs x86?
by dsmogor on Mon 9th Jul 2012 08:01 in reply to "RE: Why 6502 vs x86?"
dsmogor Member since:

ARM is in fact a kind of conceptual evolution of 6502. The creators of the architecture were heavily influenced by 6502 used in the BBC micro and designed ARM to be a logical successor.

Edited 2012-07-09 08:01 UTC

Reply Parent Score: 2

RE[3]: Why 6502 vs x86?
by henderson101 on Mon 9th Jul 2012 10:53 in reply to "RE[2]: Why 6502 vs x86?"
henderson101 Member since:

*sigh* this is only half true. The design of the 6502 was very sweet, much more efficient etc and can be seen to have generally influenced the design goals behind the ARM family. However, the ARM is a RISC processor, the 6502 is pretty much CISC (though some argue this point.) Nothing in the actual ARM architecture shows any real influence from the 6502. In fact, there's zero compatibility and knowing 6502 assembler gives you no great advantage to knowing ARM.

Maybe the confusion comes from this: the ARM based Archimedes range of computers (which is where ARM originates from) were designed to be the direct drop in replacement for the 6502 BBC range used in schools in the UK. The main selling point initially was that they came with a very similar BASIC (same capabilities, but with a lot bolted on top) and that they could run *some* BBC software using the included software emulator. Schools in the UK had bought in to Acorn big style, and the BBC micro is very much the British Apple 2 (being that most kids from the 80's started their computing in School on a BBC.) Many would argue that the Acorn range of computers ended up crippling the UK school system, as they'd bought in to a dud and the dominance of PC in the rest of the world was already in place. But that's another day's battle.

Reply Parent Score: 5