Central Processing Unit

Slides:



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

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.
Chapter 4 Processor Technology and Architecture. Chapter goals Describe CPU instruction and execution cycles Explain how primitive CPU instructions are.
 Central Processing Unit(CPU) Central Processing Unit(CPU)  Components of the CPU Components of the CPU  Actions Performed by CPU Actions Performed.
Introduction to computer: executes instructions. Overview Topics discussed in this webnote: –Structure and operation of the CPU –Program flow –Types of.
3.1Introduction to CPU Central processing unit etched on silicon chip called microprocessor Contain tens of millions of tiny transistors Key components:
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.
Computers Are Your Future Eleventh Edition Chapter 2: Inside the System Unit Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall1.
The Computer Processor
Lecture 13 - Introduction to the Central Processing Unit (CPU)
Basic Operational Concepts of a Computer
BLOCK DIAGRAM OF COMPUTER
Stack Stack Pointer A stack is a means of storing data that works on a ‘Last in first out’ (LIFO) basis. It reverses the order that data arrives and is.
Week 2.  Understand what the processor is and what it does.  Execute basic LMC programs.  Understand how CPU characteristics affect performance.
Topic 1Topic 2Topic 3Topic 4Topic
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.
Model Computer CPU Arithmetic Logic Unit Control Unit Memory Unit
Computer Science 101 Computer Systems Organization ALU, Control Unit, Instruction Set.
CSCI-100 Introduction to Computing Hardware Part I.
A summary of TOY. 4 Main Components Data Processor Control Processor Memory Input/Output Device.
Computer Structure & Architecture 7b - CPU & Buses.
Computer Organization. The digital computer is a digital system that performs various computational tasks Digital computer use binary number system which.
Confidentiality/date line: 13pt Arial Regular, white Maximum length: 1 line Information separated by vertical strokes, with two spaces on either side Disclaimer.
1 Central Processing Unit (CPU) Consists of complex set of electronic circuitry Executes stored program instructions Three components –Registers –Control.
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.
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.
Simple ALU How to perform this C language integer operation in the computer C=A+B; ? The arithmetic/logic unit (ALU) of a processor performs integer arithmetic.
Structure and Role of a Processor
Chapter 2 Data Manipulation © 2007 Pearson Addison-Wesley. All rights reserved.
Chapter 20 Computer Operations Computer Studies Today Chapter 20.
BASIC COMPUTER ARCHITECTURE HOW COMPUTER SYSTEMS WORK.
The Processor The Main Components Arithmetic/Logic Unit (ALU) Control Unit System Clock Registers.
3.1.4 Hardware a. describe the function and purpose of the control unit, memory unit and ALU (arithmetic logic unit) as individual parts of a computer;
Computer Hardware What is a CPU.
CPU Lesson 2.
GCSE Computing - The CPU
Computing Science Computer Structure: Lesson 1: Processor Structure
8085 Microprocessor Architecture
Lecture 13 - Introduction to the Central Processing Unit (CPU)
Chapter 4 Processor Technology and Architecture
Stored program concept
Edexcel GCSE Computer Science Topic 15 - The Processor (CPU)
The Central Processing Unit
THE CPU i Bytes 1.1.
Components of Computer
introduction to computer
Course Name: Computer Application Topic: Central Processing Unit (CPU)
CPU & its Components CPU stands for central Processing Unit
Microprocessor and Assembly Language
Computer Organization
CENTRAL PROCESSING UNIT CPU (microprocessor)
Teaching Computing to GCSE
The Processor and Machine Language
Functional Units.
CS149D Elements of Computer Science
3.1 Introduction to CPU Central processing unit etched on silicon chip called microprocessor Contain tens of millions of tiny transistors Key components:
GCSE OCR 1 The CPU Computer Science J276 Unit 1
Basic Computer Organization
GCSE Computing - The CPU
A Top-Level View Of Computer Function And Interconnection
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 Operation 6/22/2019.
Computer Science. The CPU The CPU is made up of 3 main parts : Cache ALU Control Unit.
Presentation transcript:

Central Processing Unit CPU Central Processing Unit Visit for more Learning Resources 1

3.2 Components of the CPU Control unit Arithmetic logic unit (ALU) Moves data and instructions between main memory and registers Arithmetic logic unit (ALU) Performs computation and comparison operations Set of registers Storage locations that hold inputs and outputs for the ALU 2

3

CPU Structure CPU must: Fetch instructions Interpret instructions Fetch data Process data Write data 22

CPU With Systems Bus

CPU Internal Structure

Actions Performed by CPU Fetch cycle CPU: Fetches an instruction from primary storage Increments a pointer to location of next instruction Separates instruction into components (instruction code and data inputs) Stores each component in a separate register Execution cycle ALU: Retrieves instruction code from a register Retrieves data inputs from registers Passes data inputs through internal circuits to perform data transformation Stores results in a register 7

Register A, special, high-speed 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. 8

Registers Fast stand-alone storage locations that hold data temporarily in CPU. PC (Program Counter) Keep track of the instruction currently being executed. Incremented after execution of the instruction. Instruction Register Store the instruction currently being executed Data Registers Hold data before it can be processed 9

CPU Registers Primary roles Hold data for currently executing program that is needed quickly or frequently (general-purpose registers) Store information about currently executing program and about status of CPU (special- purpose registers) 10

General-Purpose Registers Hold intermediate results and frequently needed data items Used only by currently executing program Implemented within the CPU; contents can be read or written quickly Increasing their number usually decreases program execution time to a point 11

Special-Purpose Registers Track processor and program status Types Instruction register Instruction pointer Program status word (PSW) Stores results of comparison operation Controls conditional branch execution Indicates actual or potential error conditions 12

ALU Arithmetic operations: Logical operations: Increment Decrement Add Subtract Multiply Divide Logical operations: NOT AND OR XOR 13

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 14

A B C 10 20 30 CA+B ADD I ← M[PC] PC++ R1 ← A R2 ← B R3 ← R1 + R2 . 2000 CA+B 2004 CC-5 10 A 20 B 30 C 10 20 30 CA+B ADD 2000

3.3 The Physical CPU Electrical device implemented as silicon- based microprocessor Contains millions of switches, which perform basic processing functions Physical implementation of switches and circuits 16

For more detail contact us 17