CISC - PowerPoint PPT Presentation

About This Presentation
Title:

CISC

Description:

CISC (Complex Instruction Set Computer) Veeraraghavan Ramamurthy ELEC 6200 Computer Architecture and Design Fall 2005 What is CISC? CISC philosophy Characteristics of ... – PowerPoint PPT presentation

Number of Views:106
Avg rating:3.0/5.0
Slides: 13
Provided by: Ananthak8
Category:

less

Transcript and Presenter's Notes

Title: CISC


1
CISC
  • (Complex Instruction Set Computer)
  • Veeraraghavan Ramamurthy
  • ELEC 6200 Computer Architecture and Design
  • Fall 2005

2
What is CISC?
A complex instruction set computer is a
microprocessor instruction set architecture
(ISA) in which each instruction can execute
several low-level operations such as a load from
memory, an arithmetic operation, and a memory
store, all in a single instruction.
Most common microprocessor designs --- including
the Intel 80x86 and Motorola 68K series --- also
follow the CISC philosophy.
3
CISC philosophy
  • use microcode
  • build rich instruction sets  
  • build high-level instruction sets

4
Characteristics of a CISC design
  • Instruction setsThe design constraints that led
    to the development of CISC (small amounts of slow
    memory, and the fact that most early machines
    were programmed in assembly language) give CISC
    instruction sets some common characteristics 
    A 2-operand format, where instructions have a
    source and a destination. For example, consider
    the add instruction "add 5, D0
  •    Register to register, register to memory, and
    memory to register commands.

5
Characteristics of a CISC design
  •   Multiple addressing modes for memory,
    including specialized modes for indexing through
    arrays
  •   Variable length instructions where the
    length often varies according to the addressing
    mode
  •   Instructions which require multiple clock
    cycles to execute.

6
Hardware architectures
  • Most CISC hardware architectures have several
    characteristics in common  
  • Complex instruction-decoding logic.
  • A small number of general purpose registers.
  •   Several special purpose registers. Many
    CISC designs set aside special registers for the
    stack pointer, interrupt handling, and so on.
  • This can simplify the hardware design
    somewhat, at the expense of making the
    instruction set more complex.

7
Hardware architectures
  • A "Condition code" register which is set as a
    side-effect of most instructions. This register
    reflects whether the result of the last operation
    is less than, equal to, or greater than zero, and
    records if certain error conditions occur.

8
The ideal CISC machine
  • CISC processors were designed to execute each
    instruction completely before beginning the next
    instruction.
  • An instruction is fetched from main memory .
  • The instruction is decoded.
  • The instruction is executed.
  • The results are written to memory.

9
A realistic CISC machine
  • In reality, some instructions may require more
    than one clock per stage. However, a CISC design
    can tolerate this slowdown since the idea behind
    CISC is to keep the total number of cycles small
    by having complicated things happen within each
    cycle.

10
CISC and the Classic Performance Equation
  • The usual equation for determining performance is
    the sum for all instructions of (the number of
    cycles per instruction instruction cycle time)
    execution time. This allows you to speed up a
    processor in 3 different ways --- use fewer
    instructions for a given task, reduce the number
    of cycles for some instructions, or speed up the
    clock (decrease the cycle time.)
  • CISC tries to reduce the number of instructions
    for a program, and RISC tries to reduce the
    cycles per instruction.

11
The advantages of CISC
  • supports higher-level languages
  • smaller program sizes
  • fewer calls to main memory
  • less RAM needed

12
The disadvantages of CISC
  • greater overhead in decoding instructions,
    therefore slowdown of execution
  • designing the chips requires more work
  • harder to use registers efficiently
  • higher power consumption
  • many specialized instructions aren't used
    frequently enough to justify their existence ---
    approximately 20 of the available instructions
    are used in a typical program.
Write a Comment
User Comments (0)
About PowerShow.com