CENTRAL PROCESSING UNIT CPU (microprocessor)

Slides:



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

1 Microprocessor History. 2 The date is the year that the processor was first introduced. Many processors are re- introduced at higher clock speeds for.
The Central Processing Unit: What Goes on Inside the Computer.
CENTRAL PROCESSING UNIT
Room: E-3-31 Phone: Dr Masri Ayob TK 2123 COMPUTER ORGANISATION & ARCHITECTURE Lecture 5: CPU and Memory.
Computer Systems. Computer System Components Computer Networks.
Stored Program Concept: The Hardware View
Chapter 4 Processor Technology and Architecture. Chapter goals Describe CPU instruction and execution cycles Explain how primitive CPU instructions are.
GCSE Computing - The CPU
Computer Applications NCBS Stage 1. The Central Processing UnitSlide 2Computer Applications Stage 1 Course Content and Assessment Practical – 60% (2 Hrs.
What’s on the Motherboard? The two main parts of the CPU are the control unit and the arithmetic logic unit. The control unit retrieves instructions from.
Chapter 4  Converts data into information  Control center  Set of electronic circuitry that executes stored program instructions  Two parts ◦ Control.
Processing Devices.
BLOCK DIAGRAM OF COMPUTER
Chapter 3 Computer Hard ware
Computer Systems 1 Fundamentals of Computing The CPU & Von Neumann.
Writer:-Rashedul Hasan Editor:- Jasim Uddin
3 1 3 C H A P T E R Hardware: Input, Processing, and Output Devices.
1Copyright © Prentice Hall 2000 The Central Processing Unit Chapter 3 What Goes on Inside the Computer.
Stages of Processing.  When a computer is given instructions, a series of tasks must take place in order for a result to be accomplished  To accomplish.
The Central Processing Unit (CPU) and the Machine Cycle.
Computer Organization - 1. INPUT PROCESS OUTPUT List different input devices Compare the use of voice recognition as opposed to the entry of data via.
Computer Architecture Memory, Math and Logic. Basic Building Blocks Seen: – Memory – Logic & Math.
Lesson 3 0x Hardware Components
Computer Studies/ICT SS2
System Unit Working of CPU. The CPU CPU The CPU CPU stands for central processing unit. it is brain of computer It is most important component of the.
Basic Computer Organization Rashedul Hasan.. Five basic operation No matter what shape, size, cost and speed of computer we are talking about, all computer.
Central Processing Unit (CPU)
Computer operation is of how the different parts of a computer system work together to perform a task.
HOW COMPUTERS WORK THE CPU & MEMORY. THE PARTS OF A COMPUTER.
The Central Processing Unit (CPU)
Processor Rashedul Hasan. Processor The microprocessor is sometimes referred to as the 'brain' of the personal computer, and is responsible for the processing.
Computer Architecture Lecture 4 by Engineer A. Lecturer Aymen Hasan AlAwady 17/11/2013 University of Kufa - Informatics Center for Research and Rehabilitation.
The Processor & its components. The CPU The brain. Performs all major calculations. Controls and manages the operations of other components of the computer.
M211 – Central Processing Unit
1 3 Computing System Fundamentals 3.2 Computer Architecture.
Chapter 20 Computer Operations Computer Studies Today Chapter 20.
CS 1410 Intro to Computer Tecnology Computer Hardware1.
1 Chapter 1 Basic Structures Of Computers. Computer : Introduction A computer is an electronic machine,devised for performing calculations and controlling.
The Processor The Main Components Arithmetic/Logic Unit (ALU) Control Unit System Clock Registers.
Stored Program Concept Learning Objectives Learn the meaning of the stored program concept The processor and its components The fetch-decode-execute and.
Chapter 2 content Basic organization of computer What is motherboard
Computer Hardware What is a CPU.
CPU Lesson 2.
GCSE Computing - The CPU
Computing Science Computer Structure: Lesson 1: Processor Structure
8085 Microprocessor Architecture
GCSE OCR Computing A451 The CPU Computing hardware 1.
The CPU, RISC and CISC Component 1.
Edexcel GCSE Computer Science Topic 15 - The Processor (CPU)
The Central Processing Unit
Assembly Language for Intel-Based Computers, 5th Edition
THE CPU i Bytes 1.1.
Introduction of microprocessor
Components of Computer
introduction to computer
Course Name: Computer Application Topic: Central Processing Unit (CPU)
CPU & its Components CPU stands for central Processing Unit
Phnom Penh International University (PPIU)
Computer Architecture
Teaching Computing to GCSE
CS149D Elements of Computer Science
Basic Computer Organization
CPU Key Revision Points.
Central Processing Unit
GCSE OCR 1 The CPU Computer Science J276 Unit 1
Basic 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.
Presentation transcript:

CENTRAL PROCESSING UNIT CPU (microprocessor) The central processing unit (CPU) performs operations on data. Fetches instructions from main memory. stores data, intermediates results and program. It controls the operation of all parts of computer Carries out the operations commanded by the instructions(program) Each instruction produces some outcome A program is an entire sequence of instructions Instructions are stored as binary numbers Binary number - a sequence of 1’s and 0’s

Identify the CPU on the motherboard

Identify the CPU on the motherboard

EXAMPLES OF MICROPROCESSOR PENTIUM 4 PENTIUM R PENTIUM 3 MAC PENTIUM 2 Cyrix CELRON DUAL CORE

CPU COMPONENTS In most architectures it has three parts: an arithmetic logic unit (ALU), a control unit and a set of registers, fast storage locations.

CPU COMPONENTS: ALU Control Unit A set of registers

Central Processing Unit Output Devices Cache Memory Primary Storage Secondary Control Unit ALU Special Purpose Processors Input

Mathematics Department ALU The actual processing of the data and instruction are performed by Arithmetic logic Unit It Accepts and process data The major operations performed by the ALU are addition, subtraction, multiplication, division, logic and comparison. Data is transferred to ALU from storage unit when required Mathematics Department

ALU Arithmetic operations: Logical operations:NOT ;AND;OR; XOR Increment Decrement Add Subtract Multiply Divide Logical operations:NOT ;AND;OR; XOR Comparing Selecting Merging Matching of data

Control Unit Like the part of the human brain that control the operation of each part of the body. Controlling is achieved through wires (form Control unit to ALU) that can be on/off. 4 wires  16 operations

Mathematics Department Control Unit (CU) The Control Unit acts like the supervisor i.e controls It extracts instructions from memory and decodes and executes them, and sends the necessary signals to the ALU to perform the operation needed. The control unit determines the sequence in which computer programs and instructions are executed. Process programs stored in the main memory. interpret the instructions and issue signals for other units of the computer to execute them. Mathematics Department

Register A special, high-speed ,stand-alone ,temporary storage area within the CPU. All data must be represented in a register before it can be processed. For example, if two numbers are to be multiplied, both numbers must be in registers, and the result is also placed in a register. The power and speed of a CPU determined by the number of registers that a CPU has and the size of each (number of bits) For example a 32-bit CPU is one in which each register is 32 bits wide. Therefore, each CPU instruction can manipulate 32 bits of data.

Mathematics Department Registers: The CPU processes data and instructions with high speed, there is also movement of data between various units of computer. It is necessary to transfer the processed data with high speed and remember the various addresses of data for effective functioning of CPU. So the computer uses a number of special memory(working space/temporary storage) units called registers. They are not part of the main memory but they store data or information temporarily and pass it on as directed by the control unit. Mathematics Department

Register Organization • Total of 37 32-bit registers — 31 are referred to as general purpose register although some such R15 (PC) have special purposes — Six program status registers • Registers are arranged in partially overlapping Program status registers Current Program Status Register General Purpose Registers Program Status Register User Visible Registers Control and Status Registers

Registers Types of PC (Program Counter) Current Instruction Register Keep track of the instruction currently being executed. Incremented after execution of the instruction. Current Instruction Register Store the instruction currently being executed Data Registers Hold data before it can be processed

Functions of CPU Register Temporarily store data required for processing Stores addresses of data being executed Determines the power and speed of CPU- i.e its determinant is the number and size of cpu registers Pass data onto other parts of computer as directed by the control unit. it helps transfer data and instructions with high speed Hold data before it can be processed Store the instruction currently being executed Keep track of the instruction currently being executed Incremente after execution of the instruction

Measurements of Computer Power Clock speed: electronic pulses used to synchronize processing. Faster clock speeds result in more operations in a give amount of time. Measured in megahertz (MHz). Bus width: determines how much data can be transferred at any one time. 16 bit, 32 bit, 64 bit. IBM’s Microchannel (MCA) Architecture vs EISA (open architecture) Word size: number of bits/bytes manipulated at once. Same as the bus width. Other determinants include main memory capacity, MIPs. This is not the same as throughput but it can affect throughput.. 18