System Hardware FPU – Floating Point Unit –Handles floating point and extended integer calculations 8284/82C284 Clock Generator (clock) –Synchronizes the.

Slides:



Advertisements
Similar presentations
The CPU The Central Presentation Unit What is the CPU?
Advertisements

Parul Polytechnic Institute
Programmable Interval Timer
Processor System Architecture
Khaled A. Al-Utaibi  Computers are Every Where  What is Computer Engineering?  Design Levels  Computer Engineering Fields  What.
1 Hardware and Software Architecture Chapter 2 n The Intel Processor Architecture n History of PC Memory Usage (Real Mode)
The CPU - Outline. Components of CPU Englander p
Midterm Tuesday October 23 Covers Chapters 3 through 6 - Buses, Clocks, Timing, Edge Triggering, Level Triggering - Cache Memory Systems - Internal Memory.
I/O Subsystem Organization and Interfacing Cs 147 Peter Nguyen
GCSE Computing - The CPU
1 Sec (2.3) Program Execution. 2 In the CPU we have CU and ALU, in CU there are two special purpose registers: 1. Instruction Register 2. Program Counter.
Computer Systems CS208. Major Components of a Computer System Processor (CPU) Runs program instructions Main Memory Storage for running programs and current.
The CPU The Central Presentation Unit Language Levels Fetch execute cycle Processor speed.
Inside The CPU. Buses There are 3 Types of Buses There are 3 Types of Buses Address bus Address bus –between CPU and Main Memory –Carries address of where.
Processor Structure & Operations of an Accumulator Machine
Higher Computing Computer Systems S. McCrossan 1 Higher Grade Computing Studies 2. Computer Structure Computer Structure The traditional diagram of a computer...
Basic Microcomputer Design. Inside the CPU Registers – storage locations Control Unit (CU) – coordinates the sequencing of steps involved in executing.
Lecture#14. Last Lecture Summary Memory Address, size What memory stores OS, Application programs, Data, Instructions Types of Memory Non Volatile and.
CPU BASICS, THE BUS, CLOCKS, I/O SUBSYSTEM Philip Chan.
Computer Processing of Data
created by :Gaurav Shrivastava
CHAPTER 3 TOP LEVEL VIEW OF COMPUTER FUNCTION AND INTERCONNECTION
Recall: Three I/O Methods Synchronous: Wait for I/O operation to complete. Asynchronous: Post I/O request and switch to other work. DMA (Direct Memory.
TDC 311 The Microarchitecture. Introduction As mentioned earlier in the class, one Java statement generates multiple machine code statements Then one.
Microprocessor Dr. Rabie A. Ramadan Al-Azhar University Lecture 2.
Fall 2012 Chapter 2: x86 Processor Architecture. Irvine, Kip R. Assembly Language for x86 Processors 6/e, Chapter Overview General Concepts IA-32.
Week 2.  Understand what the processor is and what it does.  Execute basic LMC programs.  Understand how CPU characteristics affect performance.
CPU Design. Introduction – The CPU must perform three main tasks: Communication with memory – Fetching Instructions – Fetching and storing data Interpretation.
Cis303a_chapt04.ppt Chapter 4 Processor Technology and Architecture Internal Components CPU Operation (internal components) Control Unit Move data and.
General Concepts of Computer Organization Overview of Microcomputer.
CHAPTER 4 The Central Processing Unit. Chapter Overview Microprocessors Replacing and Upgrading a CPU.
© 2004, D. J. Foreman 1 Computer Organization. © 2004, D. J. Foreman 2 Basic Architecture Review  Von Neumann ■ Distinct single-ALU & single-Control.
Computer Organization & Assembly Language © by DR. M. Amer.
Computer Architecture Memory, Math and Logic. Basic Building Blocks Seen: – Memory – Logic & Math.
Computer Hardware The Processing Unit.
Computer Hardware A computer is made of internal components Central Processor Unit Internal External and external components.
Different Microprocessors Tamanna Haque Nipa Lecturer Dept. of Computer Science Stamford University Bangladesh.
Silberschatz, Galvin and Gagne  2002 Modified for CSCI 399, Royden, Operating System Concepts Operating Systems Lecture 4 Computer Systems Review.
Stored Program A stored-program digital computer is one that keeps its programmed instructions, as well as its data, in read-write,
Computer and Information Sciences College / Computer Science Department CS 206 D Computer Organization and Assembly Language.
Pentium Architecture Arithmetic/Logic Units (ALUs) : – There are two parallel integer instruction pipelines: u-pipeline and v-pipeline – The u-pipeline.
HOW COMPUTERS WORK THE CPU & MEMORY. THE PARTS OF A COMPUTER.
The Central Processing Unit (CPU)
Computer Architecture Lecture 4 by Engineer A. Lecturer Aymen Hasan AlAwady 17/11/2013 University of Kufa - Informatics Center for Research and Rehabilitation.
Different Microprocessors Tamanna Haque Nipa Lecturer Dept. of Computer Science Stamford University Bangladesh.
CPUz 4 n00bz.
Assembly Language for Intel-Based Computers, 4 th Edition Chapter 2: IA-32 Processor Architecture (c) Pearson Education, All rights reserved. You.
Interrupts and Exception Handling. Execution We are quite aware of the Fetch, Execute process of the control unit of the CPU –Fetch and instruction as.
Chapter 11 System Performance Enhancement. Basic Operation of a Computer l Program is loaded into memory l Instruction is fetched from memory l Operands.
CS 1410 Intro to Computer Tecnology Computer Hardware1.
BASIC COMPUTER ARCHITECTURE HOW COMPUTER SYSTEMS WORK.
1 Chapter 1 Basic Structures Of Computers. Computer : Introduction A computer is an electronic machine,devised for performing calculations and controlling.
CPU Lesson 2.
GCSE Computing - The CPU
Systems Architecture Keywords Fetch Execute Cycle
Basic Processor Structure/design
Edexcel GCSE Computer Science Topic 15 - The Processor (CPU)
Assembly Language for Intel-Based Computers, 5th Edition
An Introduction to Microprocessor Architecture using intel 8085 as a classic processor
The fetch-execute cycle
Morgan Kaufmann Publishers Computer Organization and Assembly Language
CPU Key Revision Points.
Computer Organization
GCSE Computing - The CPU
Objectives Describe common CPU components and their function: ALU Arithmetic Logic Unit), CU (Control Unit), Cache Explain the function of the CPU as.
Computer Architecture Assembly Language
Computer Architecture
Sec (2.3) Program Execution.
Computer Science. The CPU The CPU is made up of 3 main parts : Cache ALU Control Unit.
Presentation transcript:

System Hardware FPU – Floating Point Unit –Handles floating point and extended integer calculations 8284/82C284 Clock Generator (clock) –Synchronizes the CPU and the rest of the computer 8259 Programmable Interrupt Controller (PIC) –Handles external interrupts from hardware devices (keyboard, system clock, disk drives, etc…) 8253 Programmable Interval Timer/Counter –Interrupts the system 18.2 times per second. Updates system date and clock, controls the speaker. Also responsible for constantly refreshing memory

The CPU Registers (Data, Address, Flags) Buses (Data, Address, Control Clock ALU Control Unit(CU)

Instruction Cycle The amount of time taken to complete the three basic steps:  Fetch: the CU fetches an instruction, copying it from memory into the CPU  Decode: The CU increments the program counter and decodes the instruction. If other operands are specified by the instruction, the CU decodes their addresses and fetches the operands. The CU passes the instruction and operands to the ALU via the prefetch queue which acts as a waiting area for the ALU.  Execute: The ALU executes the operation and passes the result operands to the CU, where they are returned to registers and memory. Each step in the instruction cycle takes at least one tick of the system clock, called a clock cycle.

Calculating Instruction Timings In many applications, choosing the most efficient way to code a group of instructions is required (data communications, real-time processing). Factors include:  CPU  Clock Speed of CPU  Instruction mnemonic  Addressing mode To measure the speed of an instruction:  # of clock cycles required to execute it  speed of the CPU’s internal clock

INC Instruction Timings in Clock Cycles Operand Type88/ reg mem1623+EA763 EA: Effective address – the time it takes for the processor to calculate various addressing modes. (EA calculation is NOT a factor from the 286 onward. It is done at the hardware level, so there is no difference in execution speed between a direct operand and a base-indexed operand). Example – For a 33MHz 386 processor: (2 clock cycles for INC instruction)/ ) = sec (60nsec) Note: This does not take into consideration parallel execution of instructions.

Reading From memory An important factor when understanding the speed of a program If CPU runs at 200MHz, RAM runs at 66MHz, there will usually be some waiting on the part of the CPU while operands are fetched from memory High-speed level-2 cache that holds most recently used instructions and data

CPU Instruction Cycle T1 – address of memory operand placed on address bus. Done by CPU setting correct address pins high or low T2 – Read line (RD) is set low to notify memory that a value is to be read T3 – CPU waits for memory to respond T4 – Read Line (RD) goes to 1, signaling that the CPU can now read the values on the data bus.