Comparing the Z80 and 6502 to Their Relatives

19 points by hoistbypetard


classichasclass

My first assembly language was the 6502, and I didn't program in 6800 (not 6809, mind you) until many years later. I liked having a 16-bit index register on the 6800, but not having to stash it all the time for move routines where I could just use another zero page pointer on the 6502. I also didn't use the B accumulator nearly as much as I thought I would.

cpurdy

I had a z80 running inside my 6502 (Apple ][+) ... it was the Microsoft Z-80 SoftCard. And the Apple ][ OS ("Applesoft BASIC" maybe?) was at least partially licensed from Microsoft as well. Fun times...

bediger4000

relative addressing is much more common on the 6809, meaning that it’s significantly more viable to write position-independent code on it than any of the other chips we’ve looked at here.

The Radio Shack Color Computer III used a 6809 CPU. You could run a multi-tasking OS called "OS-9" on it. I recall that you had to write position-independent code because of the way OS-9 divided the 64Kb of memory each process got via bank switching. It was also a matter of pride to write "thread safe" and "re-enterable" code.