The CPU The Central Presentation Unit What is the CPU?

Slides:



Advertisements
Similar presentations
The Fetch – Execute Cycle
Advertisements

Central Processing Unit
Control path Recall that the control path is the physical entity in a processor which: fetches instructions, fetches operands, decodes instructions, schedules.
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.
Computer Organization. This module surveys the physical resources of a computer system. –Basic components CPUMemoryBus I/O devices –CPU structure Registers.
Room: E-3-31 Phone: Dr Masri Ayob TK 2123 COMPUTER ORGANISATION & ARCHITECTURE Lecture 5: CPU and Memory.
Stored Program Concept: The Hardware View
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.
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.
The Computer Processor
Lecture 13 - Introduction to the Central Processing Unit (CPU)
CPU Fetch/Execute Cycle
Fetch Execute Cycle Travis Griffiths. Naming Conventions and Disclaimer Individual registers in a particular CPU will have different names depending on.
Processor Structure & Operations of an Accumulator Machine
Computer Organization Computer Organization & Assembly Language: Module 2.
Computer Systems 1 Fundamentals of Computing The CPU & Von Neumann.
Internal hardware and external components of a computer Three-box Model  Processor The brain of the system Executes programs A big finite state machine.
Introduction to Computing: Lecture 4
The CPU The Central Presentation Unit Main Memory and Addresses Address bus and Address Space Data Bus Control Bus The Instructions set Mnemonics Opcodes.
D75P 34R HNC Computer Architecture 1 Week 9 The Processor, Busses and Peripherals © C Nyssen/Aberdeen College 2003 All images © C Nyssen /Aberdeen College.
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.
Components of a Computer Prepared by: Mrs. McCallum-Rodney.
Week 2.  Understand what the processor is and what it does.  Execute basic LMC programs.  Understand how CPU characteristics affect performance.
The CPU Central Processing Unit. 2 Reminder - how it fits together processor (CPU) memory I/O devices bus.
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.
General Concepts of Computer Organization Overview of Microcomputer.
D75P 34 – HNC Computer Architecture Week 1 Main Components Of A Processor © C Nyssen/Aberdeen College 2003 All images © C Nyssen /Aberdeen College unless.
Fetch-execute cycle.
Computer Hardware A computer is made of internal components Central Processor Unit Internal External and external components.
Computer Structure & Architecture 7b - CPU & Buses.
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.
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.
Central Processing Unit (CPU) MATTHEW BOWEN. Function  The function of the CPU is to execute all of the commands and calculations or “processes” that.
Group 1 chapter 3 Alex Francisco Mario Palomino Mohammed Ur-Rehman Maria Lopez.
Structure and Role of a Processor
1 Basic Processor Architecture. 2 Building Blocks of Processor Systems CPU.
M211 – Central Processing Unit
1 3 Computing System Fundamentals 3.2 Computer Architecture.
Chapter 20 Computer Operations Computer Studies Today Chapter 20.
BASIC COMPUTER ARCHITECTURE HOW COMPUTER SYSTEMS WORK.
Software Design and Development Computer Architecture Computing Science.
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;
CPU Lesson 2.
Computing Science Computer Structure: Lesson 1: Processor Structure
Systems Architecture Keywords Fetch Execute Cycle
GCSE OCR Computing A451 The CPU Computing hardware 1.
The CPU, RISC and CISC Component 1.
Von Neumann architecture
Chapter 10: Computer systems (1)
Lecture 13 - Introduction to the Central Processing Unit (CPU)
The Central Processing Unit
Components of Computer
Course Name: Computer Application Topic: Central Processing Unit (CPU)
CPU & its Components CPU stands for central Processing Unit
Teaching Computing to GCSE
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
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
Computer Science. The CPU The CPU is made up of 3 main parts : Cache ALU Control Unit.
Presentation transcript:

The CPU The Central Presentation Unit What is the CPU? The Microprocessor Structure of the CPU Parts of the CPU Buses The Control Unit The Arithmetic Logic Unit Program counter Instruction Register Memory Data Register Memory Address Register

What is the CPU? The CPU is short for the Central Processing Unit It is the main part of the computer where instructions are processed The central processing unit includes the main memory Now a day’s most computers have more than one CPU to provide better speed

The Microprocessor Small computerised devices such as washing machines have small specialised CPUs known as microprocessors It is an integrated circuit as a single unit which includes all that the CPU needs excluding main memory

Structure of the CPU The CPU is made up of many components such as Registers (Program counter and Instruction Register) Arithmetic logic unit Control unit Buses We will now see a block diagram of the components of the CPU

Central Processing Unit Arithmetic Logical Unit Accumulator Control Unit Program Counter Instruction Register Central Memory ROM RAM Input Unit Output  Backing Storage Control Bus Data Bus

Buses All data traffic with the CPU takes place across the computer’s bus A computer bus is a set of parallel electrical tracks connecting components within a computer The width of the data bus determines the word length The width of the address bus determines how many addresses the computer can send at a time

Control Unit (CU) The CU is considered the manager of the CPU The CU’s jobs are to; decode instructions within a computer, Plan the reading and writing of data control the order in which instructions are executed control the operations performed by the ALU. In the CU you will fine two registers; Instruction Register: stores a copy of the current instruction being performed Program Counter.

The Arithmetic Logic Unit (ALU) The ALU is that part in the CPU where arithmetic and logic operations are carried out in other words all mathematical calculations. The result of the calculations are sent to the main memory The ALU is capable of performing: Addition, Subtraction, Multiplication, Division Greater Than (>), Smaller Than (<)’ Equal (=),Greater Than or Equal To (>=), Smaller Than or Equal To (<=), Not Equal (<>) AND, NOT, OR Within the ALU we will find the register known as the Accumulator. The accumulator stores the result of the current calculation.

Program Counter (PC) The program counter is sometimes known as the instruction pointer The PC indicates where the computer is in its instruction set. If the instruction set has 5 steps the PC will point to which step the computer has arrived Depending on the device the PC could hold The address of the instruction being executed, or The address of the next instruction to be executed. The program counter is automatically incremented (increased by 1) after each step (instruction cycle)

Instruction Register (IR) The instruction register (IR) is also found with the control unit The IR is used to store a copy of the current instruction being performed This instruction is stored in the for of operator and operand (covered later on)

Memory Data Register (MDR) The Memory Data Register in the central processor stores the data being transferred to and from the access store. It acts as a buffer allowing the central processor work independently without being affected by differences in operation.

Memory Address Register (MAR) The Memory Address Register in the central processor stores the address of the memory location currently in use. When the CPU is fetching data the MAR would store the address of the instruction being loaded When the instruction is being executed the address of the data being used is stored.

Main Memory The main memory is where most of the results are temporarily stored; Main memory is much faster than the hard disk this is why it is used Each result is stored in a location in the main memory and each location has an address, this way the CPU can store and retrieve information which is stored in the main memory easily and faster When the CPU writes information to the main memory two things are supplied the address section: passes through the address bus the data section: passes through the data bus