Computer Science 237 |
Lecture 30: RISC vs. CISC
Date: November 21, 2005
CISC or Complex Instruction Set Computer. Such computers:
Another example from the VAX: the SOBGTR instruction - subtract 1 and branch if the result is greater than 0. So an entire loop could be written:
MOVAW DATA,R6 ; load array ptr into R6
MOVL NUM,R9 ; initialize R9 with the number of elts
DOUBLE: ADDW2 (R6),(R6)+ ; double entry, increment ptr
SOBGTR R9,DOUBLE ; loop control
Researchers (many at Stanford) in the 1980's advocated for a RISC or reduced instruction set computer. Such computers:
RISC details: