Risc Vs Cisc
Risc Vs Cisc
Overview
CISC Architecture RISC Architecture
Pipelining
RISC vs CISC
What is CISC
Complex Instruction Set Computer High level Instruction Set Executes several low level operations Ex: load, arithmetic operation, memory store
Features of CISC
Instructions can operate directly on memory Small number of general purpose registers Instructions take multiple clocks to execute Few lines of code per operation
What is RISC?
Reduced Instruction Set Computer RISC is a CPU design that recognizes only a limited number of instructions Simple instructions Instructions are executed quickly
Features of RISC
Reduced instruction set Executes a series of simple instruction instead of a complex instruction Instructions are executed within one clock cycle Incorporates a large number of general registers for arithmetic operations to avoid storing variables on a stack in memory Only the load and store instructions operate directly onto memory Pipelining = speed
Pipelining
Assembly Line Technique to process multiple instructions at the same time Allows instructions to be executed efficiently
Stages of Pipelining
Fetch instructions from memory Decode the instruction Execute the instruction or calculate an address Access an operand in data memory Write the result into a register
CISC vs RISC
CISC RISC Complex instructions require multiple cycles Many instructions can reference memory Instructions are executed one at a time Few general registers Reduced instructions take 1 cycle
Only Load and Store instructions can reference memory Uses pipelining to execute instructions Many general registers