Risc Cisc in Microcontroller and Microprocessor
Risc Cisc in Microcontroller and Microprocessor
Topics Covered
•INTRODUCTION
•CISC ARCHITECTURE
•CHARACTERSTICS & PROPERTIES OF CISC
•ADVANTAGES & DISADVANTAGES OF CISC
• CISC INSTRUCTION EXAMPLE
•RISC ARCHITECTURE
•CHARACTERSTICS & PROPERTIES OF RISC
•ADVANTAGES & DISADVANTAGES OF RISC
•RISC INSTRUCTION EXAMPLE
•RISC 5 STAGE PIPELINING
•COMPARISON BETWEEN RISC & CISC PROCESSOR
3
Introduction
CISC Architecture
• Complex instruction set computing is a CPU design where
single instructions can execute several low-level operations (such
as a load from memory, an arithmetic operation, and a memory
store) or are capable of multi-step operations or addressing
modes within single instructions.
• Eg:” add X and Y and put the result in Z” (for X,Y,Z memory
address)
• Computers typically use CISC while tablets, smartphones and other devices
use RISC.
• So, the higher efficiency of the RISC architecture makes it desirable in these
applications where cycles and power are usually in short supply.
• Memory references, loads and stores, are slow and account for a
significant fraction of all instructions.
• Instruction set & chip of new genration hardware become more complex
with each generation of computers.
12
CISC Instruction Example
Mov ax,10
Mov bx,5
Mul bx
13
History
The first RISC projects came from IBM, Stanford, and UC-Berkeley in the
late 70s and early 80s.
The IBM 801, Stanford MIPS, and Berkeley RISC 1 and 2 were all
designed with a similar philosophy which has become known as RISC .
RISC Architecture
5. Pipelining.
6. Hardwired control.
7. Complexity pushed to the compiler.
19
Advantage
Mov ax,0
Mov bx,10
Mov cx,5
Begin:
Add ax,bx
Loop Begin
loop cx times
22
3. Execute (EX)
• Perform ALU operation, compute jump/branch target
4. Memory (MEM)
• Access memory if needed
5. Writeback (WB)
• Update register file
23
• www.google.com
• www.wikipidea.com
• www.youtube.com
• Andrew S.Tanenbaum
MLSU UNIVERSITY