COMPUTER ORGANIZATION & ASSEMBLY LANGUAGE LECTURE # 10 BY MUHAMMAD JAFER 1.

Slides:



Advertisements
Similar presentations
PART 5: (2/2) Processor Internals CHAPTER 15: CONTROL UNIT OPERATION 1.
Advertisements

Chapter 6 Computer Architecture
CSCI 4717/5717 Computer Architecture
FIU Chapter 7: Input/Output Jerome Crooks Panyawat Chiamprasert
1 Lecture 2: Review of Computer Organization Operating System Spring 2007.
Chapter 16 Control Unit Operation No HW problems on this chapter. It is important to understand this material on the architecture of computer control units,
University College Cork IRELAND Hardware Concepts An understanding of computer hardware is a vital prerequisite for the study of operating systems.
Chapter 16 Control Unit Implemntation. A Basic Computer Model.
TECH CH03 System Buses Computer Components Computer Function
Chapter 15 IA 64 Architecture Review Predication Predication Registers Speculation Control Data Software Pipelining Prolog, Kernel, & Epilog phases Automatic.
Computer Organization and Assembly language
CS-334: Computer Architecture
Micro-operations Are the functional, or atomic, operations of a processor. A single micro-operation generally involves a transfer between registers, transfer.
Lecture 8 Presented By Dr. Shazzad Hosain Asst. Prof. EECS, NSU.
TEAM 1: Miguel Harmant Rodney Rodriguez Elias Crespo Javier Parra Alfredo Alonso Marc-Wayne Anglin.
Computer Architecture
THE COMPUTER SYSTEM. Lecture Objectives Computer functions – Instruction fetch & execute – Interrupt Handling – I/O functions Interconnections Computer.
CHAPTER 3 TOP LEVEL VIEW OF COMPUTER FUNCTION AND INTERCONNECTION
Top Level View of Computer Function and Interconnection.
System bus.
Introduction to Computer Organization and Architecture Micro Program ภาษาเครื่อง ไมโครโปรแกรม.
Computers Internal Communication. Basic Computer System MAIN MEMORY ALUCNTL..... BUS CONTROLLER Processor I/O moduleInterconnections BUS Memory.
Interrupts, Buses Chapter 6.2.5, Introduction to Interrupts Interrupts are a mechanism by which other modules (e.g. I/O) may interrupt normal.
2 nd Year - 1 st Semester Asst. Lect. Mohammed Salim Computer Architecture I 1.
Microprogrammed Control Unit Control Memory Sequencing Microinstructions Microprogram Example Design of Control Unit Microinstruction Format.
School of Computer Science G51CSA 1 Input / Output.
Computer Architecture Lecture 2 System Buses. Program Concept Hardwired systems are inflexible General purpose hardware can do different tasks, given.
EEE440 Computer Architecture
Computer Orgnization Rabie A. Ramadan Lecture 6. DataPath.
ECEG-3202 Computer Architecture and Organization Chapter 3 Top Level View of Computer Function and Interconnection.
CSE 241 Computer Organization Lecture # 8 Ch. 7 Control Unit Dr. Tamer Samy Gaafar Dept. of Computer & Systems Engineering.
Lecture 15 Microarchitecture Level: Level 1. Microarchitecture Level The level above digital logic level. Job: to implement the ISA level above it. The.
Chapter 6: Computer Components Dr Mohamed Menacer Taibah University
Dr Mohamed Menacer College of Computer Science and Engineering, Taibah University CE-321: Computer.
Lecture 1: Review of Computer Organization
IT3002 Computer Architecture
GROUP 2 CHAPTER 16 CONTROL UNIT Group Members ๏ Evelio L. Hernandez ๏ Ashwin Soerdien ๏ Andrew Keiper ๏ Hermes Andino.
Control Unit Operations Chapter10:. What is Control Unit (CU)?(1)  Part of a CPU or other device that directs its operation.  Tells the rest of the.
Processor Organization
Structure and Role of a Processor
1 Computer Architecture. 2 Basic Elements Processor Main Memory –volatile –referred to as real memory or primary memory I/O modules –secondary memory.
Chapter 3 System Buses.  Hardwired systems are inflexible  General purpose hardware can do different tasks, given correct control signals  Instead.
Types of Micro-operation  Transfer data between registers  Transfer data from register to external  Transfer data from external to register  Perform.
Chapter 12 Processor Structure and Function. Central Processing Unit CPU architecture, Register organization, Instruction formats and addressing modes(Intel.
Lecture on Microcomputer
William Stallings Computer Organization and Architecture
Overview Introduction General Register Organization Stack Organization
Processor Organization and Architecture
Chapter 3 Top Level View of Computer Function and Interconnection
Computer System Overview
ECEG-3202 Computer Architecture and Organization
BIC 10503: COMPUTER ARCHITECTURE
Interrupt handling Explain how interrupts are used to obtain processor time and how processing of interrupted jobs may later be resumed, (typical.
Computer System Overview
Computer System Overview
A Top-Level View Of Computer Function And Interconnection
William Stallings Computer Organization and Architecture 7th Edition
Presentation transcript:

COMPUTER ORGANIZATION & ASSEMBLY LANGUAGE LECTURE # 10 BY MUHAMMAD JAFER 1

CENTERAL PROCESSING UNIT Register Set Athematic Logic Unit Control Unit Data path 2

INSTRUCTION CYCLE Instruction Register 3

DATA PATH Capable of performing certain operation on data Athematic Logic Unit External Busses & Internal Busses Both can have different design 4

ONE-BUS ORGANIZATION Single Bus One instruction fetching per CPU cycle Simple & Cheapest Slow 5

TWO-BUS ORGANIZATION two Bus Two instruction fetching per CPU cycle In-bus & Out-bus design 6

THREE-BUS ORGANIZATION Three Bus Two In-bus & one Out-bus design More busses will have data transfer faster More complex hardware design Expensive 7

INSTRUCTION CYCLE EXAMPLES MOV AL,5 ADD AL,[003] 8

COMPLEX INSTRUCTION CYCLE 9

INTERRUPTS Mechanism by which other modules (e.g. I/O) may interrupt normal sequence of processing Program e.g. overflow, division by zero Timer Generated by internal processor timer Used in pre-emptive multi-tasking I/O from I/O controller Hardware failure e.g. memory parity error 10

IF INTERRUPTS Suspend execution of current program Save context Set PC to start address of interrupt handler routine Process interrupt Restore context and continue interrupted program 11

IF INTERRUPTS 12

IF INTERRUPTS Suspend execution of current program Save context Set PC to start address of interrupt handler routine Process interrupt Restore context and continue interrupted program 13

PROGRAM TIMING SHORT I/O WAIT 14

PROGRAM TIMING LONG I/O WAIT 15

CONTROL UNIT Part of CPU Management of Computer Resources Control and Timing Signals Directs Flow of Data CU Types Mircoprogrammed Hardwire 16

MICROPROGRAMMED Memory Units storing Control Signals Inaccessible Memory Units in RAM or ROM Control Word is microinstruction Microinstruction = 1/More Microoperations Sequence of microinstructions are microprograms 17

HARDWIRED Fixed Logical Instructions Far more faster Not cheaper & Complex 18

CHAPTER REVIEW Fundamentals of Computer Organization and Architecture by Mostafa Abd-Al-Barr & Hesham AlRewini Chapter # 5 CPU Basics Register Set Datapath CPU Instruction Cycle Control Unit 19