Professional Documents
Culture Documents
1 CIT 595 10 - 2
Complex Instruction Set Computer (CISC) Reduced Instruction Set Computer (RISC)
Memory in those days was expensive Original idea to reduce the ISA
¾ bigger program->more storage->more money ¾ Provide minimal set of instructions that could carry out all essential
operations
Hence needed to reduce the number of instructions per program
Instruction complexity is reduced by
1. Having few simple instructions that are the same length
Number of instructions are reduced by having multiple operations
within a single instruction 2. Allowed memory access only with explicit load and store instructions
Multiple operations lead to many different kinds of instructions that Hence each instruction performs less work but instruction execution
access memory time among different instructions is consistent
¾ In turn making instruction length variable and fetch-decode-
execute time unpredictable – making it more complex The complexity that is removed from ISA is moved into the domain of
¾ Thus hardware handles the complexity the assembly programmer/compiler
1
RISC vs. CISC Example for RISC vs. CISC
Consider the the program fragments:
The difference between CISC and RISC becomes evident
mov ax, 0
through the basic computer performance equation: mov bx, 10
mov ax, 10 mov cx, 5
CISC mov bx, 5 RISC Begin add ax, bx
mul bx, ax loop Begin
2
RISC vs. CISC Summary RISC Roadblocks in the 80s
RISC CISC RISC chips took over a decade to gain a foothold in the
• Simple instructions, few in • Many complex instructions commercial world
number
• Variable length instructions
This was largely due to a lack of software support
• Fixed length instructions
• Complexity in microcode ¾ Many companies were unwilling to take a chance with the
• Complexity in compiler emerging RISC technology
• Many instructions can ¾ Without commercial interest, processor developers were
• Only LOAD/STORE access memory unable to manufacture RISC chips in large enough volumes to
instructions access make their price competitive
memory • Many addressing modes
• Few addressing modes Another major setback was the presence of Intel
• Had the resources to plow through development and produce
powerful processors