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.

Slides:



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

Computer Architecture and the Fetch-Execute Cycle
Microprocessor.  The CPU of Microcomputer is called microprocessor.  It is a CPU on a single chip (microchip).  It is called brain or heart of the.
DH2T 34 Computer Architecture 1 LO2 Lesson Two CPU and Buses.
The CPU. Parts of the CPU Control Unit Arithmetic & Logic Unit Registers.
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.
The processor and main memory chapter 4, Exploring the Digital Domain The Development and Basic Organization of Computers.
The central processing unit and main memory chapter 4, Exploring the Digital Domain The Development and Basic Organization of Computers.
GCSE Computing - The CPU
 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.
CPU Structure and Instruction Execution Timothy C. Rice Jr., MIT.
The Computer Processor
Lecture 13 - Introduction to the Central Processing Unit (CPU)
By: Clara Miles and Jarrick Lumma.  The motherboard is the main circuit board of the system unit. It can also be called a system board.  It contains.
CPU Fetch/Execute Cycle
Computer Structure.
BLOCK DIAGRAM OF COMPUTER
Processor Structure & Operations of an Accumulator Machine
Computer Systems 1 Fundamentals of Computing The CPU & Von Neumann.
D75P 34R HNC Computer Architecture 1 Week 9 The Processor, Busses and Peripherals © C Nyssen/Aberdeen College 2003 All images © C Nyssen /Aberdeen College.
Presented by: Sergio Ospina Qing Gao. Contents ♦ 12.1 Processor Organization ♦ 12.2 Register Organization ♦ 12.3 Instruction Cycle ♦ 12.4 Instruction.
Components of a Computer Prepared by: Mrs. McCallum-Rodney.
The CPU Central Processing Unit. 2 Reminder - how it fits together processor (CPU) memory I/O devices bus.
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
D75P 34 – HNC Computer Architecture Week 1 Main Components Of A Processor © C Nyssen/Aberdeen College 2003 All images © C Nyssen /Aberdeen College unless.
CHAPTER 4 The Central Processing Unit. Chapter Overview Microprocessors Replacing and Upgrading a CPU.
Computer Systems - Registers. Starter… Discuss in pairs the definition of the following Control Unit Arithmetic and Logic Unit Registers Internal clock.
Computer Studies/ICT SS2
1 Central Processing Unit (CPU) Consists of complex set of electronic circuitry Executes stored program instructions Three components –Registers –Control.
Central Processing Unit Part I Bayram Güzer. Central Processing Unit Central processing unit is a control center that converts data input to information.
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.
The Central Processing Unit (CPU)
Question What technology differentiates the different stages a computer had gone through from generation 1 to present?
Structure and Role of a Processor
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.
Lec 4-2 Five operations of the machine cycle Fetch- fetch the next program instruction from memory. (PC+1); instruction to IR Decode- decode the instruction.
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;
Riyadh Philanthropic Society For Science Prince Sultan College For Woman Dept. of Computer & Information Sciences CS 251 Introduction to Computer Organization.
Computer Operation What basic hardware components are inside a personal computer?
CPU Lesson 2.
OCR GCSE Computer Science Teaching and Learning Resources
The CPU, RISC and CISC Component 1.
Chapter 10: Computer systems (1)
Introduction of microprocessor
Components of Computer
Course Name: Computer Application Topic: Central Processing Unit (CPU)
CPU & its Components CPU stands for central Processing Unit
Components of Computer
CENTRAL PROCESSING UNIT CPU (microprocessor)
System Architecture 1 Chapter 2.
Basic Computer Organization
CPU Key Revision Points.
Central Processing Unit
1-2 – Central Processing Unit
GCSE OCR 1 The CPU Computer Science J276 Unit 1
Basic Computer Organization
Objectives Describe common CPU components and their function: ALU Arithmetic Logic Unit), CU (Control Unit), Cache Explain the function of the CPU as.
Computer Science. The CPU The CPU is made up of 3 main parts : Cache ALU Control Unit.
Presentation transcript:

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 computer. it is also called processor. Converts data into information It continually receives instructions to execute. Each instruction tells CPU to process data. CPU performs all operations on data according to the given instructions. It executes instructions and tells other parts of computers what to do. Most of the work consists of calculations and data transfer. Two parts –Control Unit (CU) –Arithmetic and Logic Unit (ALU)

Control Unit CU Control Unit is an important component of CPU. It acts Like a supervisor of the computer. It controls all activities of the computer system All the computers resources are managed from the control unit. Think of the control unit as a traffic signal directing the flow of data through the CPU. The CPU´s instruction for carrying out commands are built into the control unit. The instruction or instruction set, list all the operations that the CPU can perform. Each instruction in the instruction set is a series of basic directions that tell the CPU how to execute more complex operations.

Control Unit CU It performs the following operations: 1.It fetches or retrieve instruction from main memory. 2.It interprets the instruction to find what operation is to be performed. 3.It controls the execution of instruction. The control unit determines the sequence in which computer programs and instructions are executed

System Clock In computers, sequence is everything. The system clock synchronizes the tasks in a computer, like loading data before manipulating it, etc. The system clock is a circuit that emits a continuous stream of precise high and low pulses that are all exactly the same length. One clock cycle is the time that passes from the start of one high pulse, until the start of the next. If several events are supposed to happen in one clock cycle, the cycle is subdivided by inserting a circuit with a known delay in it, thus providing more highs and more lows.

Arithmetic / Logic Unit ALU ALU is a part of CPU. Actual Execution of instructions takes place in this part. All Arithmetic and Logical operations are performed in ALU. It consists of two units Arithmetic Unit Performs arithmetic operations Logic Unit Performs logical operations

Arithmetic Operations Addition Subtraction Multiplication Division

Logical Operations Evaluates conditions Makes comparisons Can compare –Numbers –Letters –Special characters

ALU When the control unit encounters an instruction that involves arithmetic or logic, however, it passes that instruction to the second component of the CPU, the ALU. The ALU performs these operations. ALU includes a group of registers--- high speed memory locations built directly into the CPU that are used to hold the data currently being processed.

ALU ALU will use the register to hold the data currently being used for calculation. For example CU might load two numbers from memory into the registers in the ALU. Then it might tell the ALU divide the two numbers (an arithmetic operation) or to see whether the numbers are equal (a logical operation). The answer to this calculation will be stored in another register before being sent out of the CPU.

Registers A location used for temporarily hold data or instructions at the moment of execution The storage capacity of registers measures in bytes (can be 1,2,4 or 8 bytes registers).

Registers in ALU Accumulator (Acc) –storing intermediate results of computations Status Register (SR) –to store the status of the result

Registers in CU Program Counter (PC) –to contain the address of next instruction to be executed –keep a record of the sequence of execution. Instruction Register (IR) –to contain instruction that is being executed.

Registers in CU Memory Address Register (MAR) –to store the address of the data or instruction to be processed Memory Data Register (MDR) –to store data or instruction to be processed.

Registers in CPU CPU CUALU PC MAR MDR IR PSR Acc