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 525927
To read all comments associated with this story, please click here.
Why 6502 vs x86?
by jtjammer22 on Mon 9th Jul 2012 04:43 UTC
jtjammer22
Member since:
2012-07-09

Why not x86 asm?

I have several old Atari & 6502 books about to be dumped. Should I save them?

Reply Score: 1

RE: Why 6502 vs x86?
by jtjammer22 on Mon 9th Jul 2012 04:47 in reply to "Why 6502 vs x86?"
jtjammer22 Member since:
2012-07-09

D'oh! RTFA, Sorry all.

Reply Parent Score: 1

RE: Why 6502 vs x86?
by Kochise on Mon 9th Jul 2012 05:17 in reply to "Why 6502 vs x86?"
Kochise Member since:
2006-03-03

Have you *ever* tried 6502 assembly vs. 80x86 assembly ? Does real mode, segmented memory, int 10 means somethig for you ? Once that will happen, you'll freak out and love 6502 assembly.

Kochise

Reply Parent Score: 6

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

Have you *ever* tried 6502 assembly vs. 80x86 assembly ? Does real mode, segmented memory, int 10 means somethig for you ? Once that will happen, you'll freak out and love 6502 assembly.


To be fair the PC architecture is much more complex and the main reason initially the 8086 was like that was to reduce production costs.

Reply Parent Score: 4

RE[2]: Why 6502 vs x86?
by jgagnon on Mon 9th Jul 2012 17:17 in reply to "RE: Why 6502 vs x86?"
jgagnon Member since:
2008-06-24

One thing I hated about 6502/6510 assembly was the lack of multiply and divide. On my C64 I could call the basic routines to do it or implement it myself, but that still sucks. :p

Reply Parent Score: 2

RE: Why 6502 vs x86?
by xylifyx on Mon 9th Jul 2012 05:51 in reply to "Why 6502 vs x86?"
xylifyx Member since:
2008-05-03

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, http://en.wikipedia.org/wiki/Atmel_AVR . 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:
2005-07-08

Agreed!

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:
2010-07-17

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[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:
2005-09-01

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