Overview Introduction General Register Organization Stack Organization

Slides:



Advertisements
Similar presentations
Instruction Set Design
Advertisements

Chapter 8: Central Processing Unit
RISC / CISC Architecture By: Ramtin Raji Kermani Ramtin Raji Kermani Rayan Arasteh Rayan Arasteh An Introduction to Professor: Mr. Khayami Mr. Khayami.
Computer Organization and Architecture
Tuan Tran. What is CISC? CISC stands for Complex Instruction Set Computer. CISC are chips that are easy to program and which make efficient use of memory.
Chapter XI Reduced Instruction Set Computing (RISC) CS 147 Li-Chuan Fang.
Microprocessors Introduction to RISC Mar 19th, 2002.
RISC. Rational Behind RISC Few of the complex instructions were used –data movement – 45% –ALU ops – 25% –branching – 30% Cheaper memory VLSI technology.
11/11/05ELEC CISC (Complex Instruction Set Computer) Veeraraghavan Ramamurthy ELEC 6200 Computer Architecture and Design Fall 2005.
Group 5 Alain J. Percial Paula A. Ortiz Francis X. Ruiz.
Reduced Instruction Set Computers (RISC) Computer Organization and Architecture.
Cisc Complex Instruction Set Computing By Christopher Wong 1.
Processor Organization and Architecture
RISC and CISC. Dec. 2008/Dec. and RISC versus CISC The world of microprocessors and CPUs can be divided into two parts:
1 4.2 MARIE This is the MARIE architecture shown graphically.
Central Processing Unit. MAJOR COMPONENTS OF CPU.
1 Computer Architecture Part II-B: CPU Instruction Set.
Computer Architecture and Organization
COMPUTER ORGANIZATION & ASSEMBLY LANGUAGE LECTURE # 10 BY MUHAMMAD JAFER 1.
RISC and CISC. What is CISC? CISC is an acronym for Complex Instruction Set Computer and are chips that are easy to program and which make efficient use.
MIPS Processor Chapter 12 S. Dandamudi To be used with S. Dandamudi, “Introduction to Assembly Language Programming,” Second Edition, Springer,
ECEG-3202 Computer Architecture and Organization Chapter 7 Reduced Instruction Set Computers.
Processor Structure and Function Chapter8:. CPU Structure  CPU must:  Fetch instructions –Read instruction from memory  Interpret instructions –Instruction.
COMPUTER ORGANIZATIONS CSNB123 NSMS2013 Ver.1Systems and Networking1.
EECS 322 March 18, 2000 RISC - Reduced Instruction Set Computer Reduced Instruction Set Computer  By reducing the number of instructions that a processor.
RISC / CISC Architecture by Derek Ng. Overview CISC Architecture RISC Architecture  Pipelining RISC vs CISC.
The Processor & its components. The CPU The brain. Performs all major calculations. Controls and manages the operations of other components of the computer.
Copyright © 2005 – Curt Hill MicroProgramming Programming at a different level.
CISC. What is it?  CISC - Complex Instruction Set Computer  CISC is a design philosophy that:  1) uses microcode instruction sets  2) uses larger.
Basic Concepts Microinstructions The control unit seems a reasonably simple device. Nevertheless, to implement a control unit as an interconnection of.
Riyadh Philanthropic Society For Science Prince Sultan College For Woman Dept. of Computer & Information Sciences CS 251 Introduction to Computer Organization.
Computer Organization and Architecture Lecture 1 : Introduction
Computers’ Basic Organization
Topics to be covered Instruction Execution Characteristics
RISC and CISC Lecture 8.
Computer Organization and Architecture + Networks
Assembly language.
Immediate Addressing Mode
Overview Introduction General Register Organization Stack Organization
Central Processing Unit Architecture
Advanced Topic: Alternative Architectures Chapter 9 Objectives
Computer Organization and Design
Overview Control Memory Comparison of Implementations
CISC (Complex Instruction Set Computer)
Overview Introduction General Register Organization Stack Organization
Computer Architecture
Central Processing Unit
Prepared By:- Parminder Mann
Central Processing Unit
Computer Organization and ASSEMBLY LANGUAGE
CISC AND RISC SYSTEM Based on instruction set, we broadly classify Computer/microprocessor/microcontroller into CISC and RISC. CISC SYSTEM: COMPLEX INSTRUCTION.
Computer Organization and Design
RISC and CISC.
Control Unit Introduction Types Comparison Control Memory
CENTRAL PROCESSING UNIT
Chapter 8 Central Processing Unit
Processor Organization and Architecture
CENTRAL PROCESSING UNIT
Classification of instructions
Computer Architecture
MARIE: An Introduction to a Simple Computer
Introduction to Microprocessor Programming
Computer Architecture
CPU Structure CPU must:
Lecture 4: Instruction Set Design/Pipelining
William Stallings Computer Organization and Architecture
Prepared By:- Bhim Singh
INSTRUCTION SET DESIGN
Chapter 10 Instruction Sets: Characteristics and Functions
Presentation transcript:

Overview Introduction General Register Organization Stack Organization Central Processing Unit 1 Lecture 28 Overview Introduction General Register Organization Stack Organization Instruction Formats Addressing Modes Data Transfer and Manipulation Program Control Program Interrupts Reduced Instruction Set Computer CSE 211, Computer Organization and Architecture Harjeet Kaur, CSE/IT

Program Interrupt Central Processing Unit 2 Lecture 27 Types of Interrupts External interrupts External Interrupts initiated from the outside of CPU and Memory - I/O Device → Data transfer request or Data transfer complete - Timing Device → Timeout - Power Failure - Operator Internal interrupts (traps) Internal Interrupts are caused by the currently running program - Register, Stack Overflow - Divide by zero - OP-code Violation - Protection Violation Software Interrupts Both External and Internal Interrupts are initiated by the computer HW. Software Interrupts are initiated by the executing an instruction. - Supervisor Call 1. Switching from a user mode to the supervisor mode 2. Allows to execute a certain class of operations which are not allowed in the user mode CSE 211, Computer Organization and Architecture Harjeet Kaur, CSE/IT

Interrupt Procedure Interrupt Procedure and Subroutine Call Central Processing Unit 3 Lecture 27 Interrupt Procedure Interrupt Procedure and Subroutine Call - The interrupt is usually initiated by an internal or an external signal rather than from the execution of an instruction (except for the software interrupt) - The address of the interrupt service program is determined by the hardware rather than from the address field of an instruction - An interrupt procedure usually stores all the information necessary to define the state of CPU rather than storing only the PC. The state of the CPU is determined from: Content of the PC Content of all processor registers Content of status bits Many ways of saving the CPU state depending on the CPU architectures CSE 211, Computer Organization and Architecture Harjeet Kaur, CSE/IT

RISC- Historical BackGround Central Processing Unit 4 Lecture 28 RISC- Historical BackGround IBM System/360, 1964 The real beginning of modern computer architecture Distinction between Architecture and Implementation Architecture: The abstract structure of a computer seen by an assembly-language programmer Continuing growth in semiconductor memory and microprogramming  A much richer and complicated instruction sets  CISC(Complex Instruction Set Computer) High-Level Language Instruction Set Hardware Compiler -program Architecture Implementation CSE 211, Computer Organization and Architecture Harjeet Kaur, CSE/IT

CISC CISC Arguments Advanced at that time Central Processing Unit 5 Lecture 28 CISC Arguments Advanced at that time Richer instruction sets would simplify compilers Richer instruction sets would alleviate the software crisis move as much functions to the hardware as possible Richer instruction sets would improve architecture quality CISC These computers with many instructions and addressing modes came to be known as Complex Instruction Set Computers (CISC) One goal for CISC machines was to have a machine language instruction to match each high-level language statement type CSE 211, Computer Organization and Architecture Harjeet Kaur, CSE/IT

Complex Instruction Set Computers Central Processing Unit 6 Lecture 28 Complex Instruction Set Computers Another characteristic of CISC computers is that they have instructions that act directly on memory addresses For example, ADD L1, L2, L3 that takes the contents of M[L1] adds it to the contents of M[L2] and stores the result in location M[L3] An instruction like this takes three memory access cycles to execute That makes for a potentially very long instruction execution cycle The problems with CISC computers are The complexity of the design may slow down the processor, The complexity of the design may result in costly errors in the processor design and implementation, Many of the instructions and addressing modes are used rarely, if ever CSE 211, Computer Organization and Architecture Harjeet Kaur, CSE/IT

Summary : Criticism On CISC Central Processing Unit 7 Lecture 28 Summary : Criticism On CISC High Performance General Purpose Instructions - Complex Instruction → Format, Length, Addressing Modes → Complicated instruction cycle control due to the complex decoding HW and decoding process - Multiple memory cycle instructions → Operations on memory data → Multiple memory accesses/instruction - Microprogrammed control is necessity → Microprogram control storage takes substantial portion of CPU chip area → Semantic Gap is large between machine instruction and microinstruction - General purpose instruction set includes all the features required by individually different applications → When any one application is running, all the features required by the other applications are extra burden to the application CSE 211, Computer Organization and Architecture Harjeet Kaur, CSE/IT

RISC – Reduced Instruction Set Computers Central Processing Unit 8 Lecture 28 RISC – Reduced Instruction Set Computers In the late ‘70s and early ‘80s there was a reaction to the shortcomings of the CISC style of processors Reduced Instruction Set Computers (RISC) were proposed as an alternative The underlying idea behind RISC processors is to simplify the instruction set and reduce instruction execution time RISC processors often feature: Few instructions Few addressing modes Only load and store instructions access memory All other operations are done using on-processor registers Fixed length instructions Single cycle execution of instructions The control unit is hardwired, not microprogrammed CSE 211, Computer Organization and Architecture Harjeet Kaur, CSE/IT

RISC – Reduced Instruction Set Computers Central Processing Unit 9 Lecture 28 RISC – Reduced Instruction Set Computers Since all but the load and store instructions use only registers for operands, only a few addressing modes are needed By having all instructions the same length, reading them in is easy and fast The fetch and decode stages are simple The instruction and address formats are designed to be easy to decode Unlike the variable length CISC instructions, the opcode and register fields of RISC instructions can be decoded simultaneously The control logic of a RISC processor is designed to be simple and fast The control logic is simple because of the small number of instructions and the simple addressing modes The control logic is hardwired, rather than microprogrammed, because hardwired control is faster CSE 211, Computer Organization and Architecture Harjeet Kaur, CSE/IT