itft_risc

10
RISC / CISC Architecture .

Upload: shilpa-sharma

Post on 18-Dec-2014

250 views

Category:

Education


0 download

DESCRIPTION

RISC/CISC Architecture

TRANSCRIPT

Page 1: ITFT_Risc

RISC / CISC Architecture.

Page 2: ITFT_Risc

Overview

• CISC Architecture

• RISC Architecture• Pipelining

• RISC vs CISC

Page 3: ITFT_Risc

What is CISC

• Complex Instruction Set Computer

• “High level” Instruction Set• Executes several “low level

operations”• Ex: load, arithmetic operation,

memory store

Page 4: ITFT_Risc

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

Page 5: ITFT_Risc

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

Page 6: ITFT_Risc

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

Page 7: ITFT_Risc

Pipelining

• “Assembly Line”

• Technique to process multiple instructions at the same time

• Allows instructions to be executed efficiently

Page 8: ITFT_Risc

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

Page 9: ITFT_Risc

Pipelining Example

Page 10: ITFT_Risc

CISC vs RISC

CISC RISC

Complex instructions require multiple cycles

Reduced instructions take 1 cycle

Many instructions can reference memory

Only Load and Store instructions can reference memory

Instructions are executed one at a time

Uses pipelining to executeinstructions

Few general registers Many general registers