Adventures in Internet Publishing
Sunday, November 28, 2010
  The Original RISC Chip
I can see why the 6502 was once called "the original RISC processor." It's not, strictly, a RISC design, more of a parallel invention, but the BBC Micro used a 6502, and Acorn Research went on to produce the ARM architecture on similar principals. Looking at the instruction set, and how the registers work, it looks like you could even get it pretty close to the one-clock-per-instruction ideal, if you ignore the extra data fetches. It explains why it outperformed the z80.

I've only got experience with the 6502 and ARM instruction sets, and they're quite similar, the ARM being a heavily upgraded (and incompatible) version of the former. You've got arithmetic operations, memory operations, and program control, and that's it. ARM added multiplication which never gets used. Oh, and a bazillion registers.

Looking at the 8086 instruction set, it's got stuff that I don't even know what to do with. String operations, right there in machine language. An operation to compare two values in memory (the extra microcode to take care of that is probably slower than loading the values to registers, then comparing). Arithmetic shifts? Probably all useful stuff if C didn't exist and you don't have a macro assembler, though. Which was pretty much true with the original IBM PC.

VAX has a million different instructions, in fact it almost looks like it was created to run UNIX. Probably not too far from the truth. It has instructions to deal with polynomials.

Rambling now. I should probably go do something else.
 
Comments: Post a Comment

Subscribe to Post Comments [Atom]





<< Home

Name:
Location: San Diego, California, United States

I program old computers and calculators in my spare time.

Archives
January 2006 / March 2006 / May 2006 / October 2006 / November 2006 / December 2006 / March 2007 / May 2007 / July 2007 / August 2007 / September 2007 / November 2007 / January 2008 / March 2008 / April 2008 / May 2008 / June 2008 / August 2008 / September 2008 / October 2008 / March 2009 / October 2010 / November 2010 / January 2011 / February 2011 /


Powered by Blogger

Subscribe to
Posts [Atom]