Wikipedia says [malarkey] again...
Posted: Tue Mar 19, 2013 9:36 am
On the 6502 article on Wikipedia :
I think this is comple ******** made up by someone.
The 6502 has :
- Variable length instructions
- No register banks
- Instruction set which is not orthogonal at all (each registers does very different things)
- About 10 addressing modes available for all complex functions (RISCs should have only about 2-3 adressing modes)
- Hardware supported stack
- Decimal mode
Which makes it 100% CISC all the way. There is no way the 6502 can ever be considered "the original RISC" or any ******** like this.
Just the existance of instructions like adc ($xx),Y alone make it CISC (this would require ~3 instructions on a RISC CPU).
Quote:
A Byte magazine article once referred to the 6502 as "the original RISC processor", due to its efficient, simplistic, and nearly orthogonal instruction set (most instructions work with most addressing modes), as well as its 256 zero-page "registers". The 6502 is technically not a RISC design, however, as arithmetic operations can read any memory cell (not only zero-page), and some instructions (INC, ROL, etc.) even modify memory (i.e. they are read-modify-write instructions), contrary to the basic load/store philosophy of RISC. Furthermore, orthogonality is equally often associated with "CISC". However, the 6502 performed reasonably well compared to other contemporary processors such as the Z80, which used a much faster clock rate, and the 6502 has been credited as being inspirational to RISC processors such as the ARM.[49]
The 6502 has :
- Variable length instructions
- No register banks
- Instruction set which is not orthogonal at all (each registers does very different things)
- About 10 addressing modes available for all complex functions (RISCs should have only about 2-3 adressing modes)
- Hardware supported stack
- Decimal mode
Which makes it 100% CISC all the way. There is no way the 6502 can ever be considered "the original RISC" or any ******** like this.
Just the existance of instructions like adc ($xx),Y alone make it CISC (this would require ~3 instructions on a RISC CPU).