The Central Processing Unit (CPU) and the Machine Cycle.

Slides:



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

Machine 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.
Computer Systems. Computer System Components Computer Networks.
Computing Components 01/26/11. Announcements & Reminders Programs 1 due Friday, 9/2/11 What is my late policy? Proxy Codes for Labs  You should be able.
Stored Program Concept: The Hardware View
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.
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.
Introduction Computer Hardware Jess 2006 The CPU.
CPU Structure and Instruction Execution Timothy C. Rice Jr., MIT.
Lecture 13 - Introduction to the Central Processing Unit (CPU)
KEY COMPONENTS OF A COMPUTER SYSTEM ANDREW LOLAVAR.
Basic Microcomputer Design. Inside the CPU Registers – storage locations Control Unit (CU) – coordinates the sequencing of steps involved in executing.
Week 2.  Understand what the processor is and what it does.  Execute basic LMC programs.  Understand how CPU characteristics affect performance.
1Copyright © Prentice Hall 2000 The Central Processing Unit Chapter 3 What Goes on Inside the Computer.
Topic 1Topic 2Topic 3Topic 4Topic
How computers work The CPU & Memory. The parts of a 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.
SKILL AREA: 1.2 MAIN ELEMENTS OF A PERSONAL COMPUTER.
Important Concepts  Parts of the CPU  Arithmetic/Logic Unit  Control Unit  Registers  Program Counter  Instruction Register  Fetch/Decode/Execute.
J. Stover, CSD-HS.  A computer is an electronic device that is programmed to accept data (input), process it into useful information (output), and store.
Computer Architecture Memory, Math and Logic. Basic Building Blocks Seen: – Memory – Logic & Math.
Computer Structure & Architecture 7b - CPU & Buses.
Computer Studies/ICT SS2
©2010 Akula LLC, Jeremy R. Hertzberg, BS CMPE Computer Technology Central Processor Unit
Represents different voltage levels High: 5 Volts Low: 0 Volts At this raw level a digital computer is instructed to carry out instructions.
COMPILERS CLASS 22/7,23/7. Introduction Compiler: A Compiler is a program that can read a program in one language (Source) and translate it into an equivalent.
CENTRAL PROCESSING UNIT. CPU Does the actual processing in the computer. A single chip called a microprocessor. Composed of an arithmetic and logic unit.
CPU The Central Processing Unit (CPU), has 3 main parts: Control Unit Arithmetic and Logic Unit Registers. These components are connected to the rest.
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.
Central Processing Unit Part I Bayram Güzer. Central Processing Unit Central processing unit is a control center that converts data input to information.
TOPIC: CENTRAL PROCESSING UNIT PRESENTED BY: MS. AMBER AMAR.
HOW COMPUTERS WORK THE CPU & MEMORY. THE PARTS OF A COMPUTER.
Central Processing Unit (CPU) MATTHEW BOWEN. Function  The function of the CPU is to execute all of the commands and calculations or “processes” that.
Computer Babble Talk Dung X. Nguyen Rice University.
Question What technology differentiates the different stages a computer had gone through from generation 1 to present?
RISC / CISC Architecture by Derek Ng. Overview CISC Architecture RISC Architecture  Pipelining RISC vs CISC.
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
CPUz 4 n00bz.
Chapter 20 Computer Operations Computer Studies Today Chapter 20.
Computer Operation. Binary Codes CPU operates in binary codes Representation of values in binary codes Instructions to CPU in binary codes Addresses in.
The Processor The Main Components Arithmetic/Logic Unit (ALU) Control Unit System Clock Registers.
GCSE Computing - The CPU
GCSE OCR Computing A451 The CPU Computing hardware 1.
Chapter 10: Computer systems (1)
Introduction Computer Hardware Jess 2006
Edexcel GCSE Computer Science Topic 15 - The Processor (CPU)
Computer Systems – Memory & the 3 box Model
Central Processing Unit (CPU)
Components of Computer
Course Name: Computer Application Topic: Central Processing Unit (CPU)
CPU & its Components CPU stands for central Processing Unit
CENTRAL PROCESSING UNIT CPU (microprocessor)
Computer Architecture
The fetch-execute cycle
CPU Key Revision Points.
Prerequisite Glossary
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.
OCR GCSE (9-1) Computer Science (J276)
Computer Architecture Assembly Language
Computer Architecture
Little work is accurate
Introduction to Computers
Sec (2.3) Program Execution.
Computer Science. The CPU The CPU is made up of 3 main parts : Cache ALU Control Unit.
Presentation transcript:

The Central Processing Unit (CPU) and the Machine Cycle

Central Processing Unit (CPU) The Central Processing Unit (CPU) is the most important hardware component of a computer system. All the processing takes place in the CPU as, a result it is commonly referred to as the “brain” of the computer.

Components of the CPU The CPU consists of: 1. Control Unit (CU) – controls the operations of the CPU 2. Arithmetic Logic Unit (ALU) – performs operations such as addition, subtraction, multiplication, division and logical operations. 3. High speed memories such as Registers and Cache

Machine Cycle Each time the CPU executes an instruction, it takes a series of steps. The complete series of steps is called a machine cycle.

Stages of the Machine Cycle The series of steps that are carried out during the Machine Cycle are the: 1.Fetch Stage 2.Decode Stage 3.Execution Stage 4.Storing

Fetch Stage In the Fetch Stage, the Control Unit takes the instruction that is store in the Main Memory.

Decode Stage In the Decode Stage, the Control Unit translates the instruction into machine language or binary code.

Execution Stage In the execution stage, the Control Unit or Arithmetic Logic Unit then performs (carry out) the instruction from the decode stage.

Storing The Control Unit or Arithmetic Logic Unit then place the result from the execution stage into memory.

Diagram of the Machine Cycle

Instruction Time (I-Time) The instruction time is the time it takes the Control Unit to fetch (get) and decode (translate) the instruction from memory.

Execution Time (E-Time) The execution time is the time it takes the instruction to be performed (execute) and the result placed in memory.

Diagram showing the relation between Instruction Time and Execution Time

Practice Questions Which part of the Central Processing Unit is responsible for the following: A. Fetch X B. Fetch Y C. Check if X is greater than Y D. Add X and Y and store the result in Z