The Processor & its components. The CPU The brain. Performs all major calculations. Controls and manages the operations of other components of the computer.

Slides:



Advertisements
Similar presentations
Components of a computer system
Advertisements

RAM (cont.) 220 bytes of RAM (1 Mega-byte) 20 bits of address Address
The CPU The Central Presentation Unit What is the CPU?
Machine cycle.
Computer Organization and Architecture
Khaled A. Al-Utaibi  Computers are Every Where  What is Computer Engineering?  Design Levels  Computer Engineering Fields  What.
DH2T 34 Computer Architecture 1 LO2 Lesson Two CPU and Buses.
The CPU. Parts of the CPU Control Unit Arithmetic & Logic Unit Registers.
The CPU - Outline. Components of CPU Englander p
The processor and main memory chapter 4, Exploring the Digital Domain The Development and Basic Organization of Computers.
Chapter 4 Processor Technology and Architecture. Chapter goals Describe CPU instruction and execution cycles Explain how primitive CPU instructions are.
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.
Chapter 17 Microprocessor Fundamentals William Kleitz Digital Electronics with VHDL, Quartus® II Version Copyright ©2006 by Pearson Education, Inc. Upper.
The Computer Processor
Lecture 13 - Introduction to the Central Processing Unit (CPU)
RISC and CISC. Dec. 2008/Dec. and RISC versus CISC The world of microprocessors and CPUs can be divided into two parts:
CPU, CONTROL UNIT, ALU BY: GROUP 10 (MT - 2A) Grado, Crystell Joy
Processing Devices.
Computer Systems 1 Fundamentals of Computing The CPU & Von Neumann.
Basic Microcomputer Design. Inside the CPU Registers – storage locations Control Unit (CU) – coordinates the sequencing of steps involved in executing.
Writer:-Rashedul Hasan Editor:- Jasim Uddin
Chapter 2 The CPU and the Main Board  2.1 Components of the CPU 2.1 Components of the CPU 2.1 Components of the CPU  2.2Performance and Instruction Sets.
Computers organization & Assembly Language Chapter 0 INTRODUCTION TO COMPUTING Basic Concepts.
Von Neumann Machine Objectives: Explain Von Neumann architecture:  Memory –Organization –Decoding memory addresses, MAR & MDR  ALU and Control Unit –Executing.
Cis303a_chapt04.ppt Chapter 4 Processor Technology and Architecture Internal Components CPU Operation (internal components) Control Unit Move data and.
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.
CHAPTER 4 The Central Processing Unit. Chapter Overview Microprocessors Replacing and Upgrading a CPU.
Introduction to Microprocessors
Computer Structure & Architecture 7b - CPU & Buses.
Computer Architecture 2 nd year (computer and Information Sc.)
Computer Studies/ICT SS2
Stored Programs In today’s lesson, we will look at: what we mean by a stored program computer how computers store and run programs what we mean by the.
Computer Organization 1 Instruction Fetch and Execute.
Stored Program A stored-program digital computer is one that keeps its programmed instructions, as well as its data, in read-write,
Computer and Information Sciences College / Computer Science Department CS 206 D Computer Organization and Assembly Language.
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.
Processor Structure and Function Chapter8:. CPU Structure  CPU must:  Fetch instructions –Read instruction from memory  Interpret instructions –Instruction.
Overview von Neumann Architecture Computer component Computer function
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.
Chapter 2 Turning Data into Something You Can Use
Question What technology differentiates the different stages a computer had gone through from generation 1 to present?
Processor Rashedul Hasan. Processor The microprocessor is sometimes referred to as the 'brain' of the personal computer, and is responsible for the processing.
Designing a CPU –Reading a programs instruction from memory –Decoding the instruction –Executing the instruction –Transferring Data to/From memory / IO.
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.
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.
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.
Stored Program Concept Learning Objectives Learn the meaning of the stored program concept The processor and its components The fetch-decode-execute and.
CPU Lesson 2.
Chapter 10: Computer systems (1)
Lecture on Microcomputer
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)
Morgan Kaufmann Publishers Computer Organization and Assembly Language
Computer Architecture
Overview of Computer Architecture and Organization
CPU Key Revision Points.
GCSE OCR 1 The CPU Computer Science J276 Unit 1
CPU Structure CPU must:
WJEC GCSE Computer Science
Objectives Describe common CPU components and their function: ALU Arithmetic Logic Unit), CU (Control Unit), Cache Explain the function of the CPU as.
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 Processor & its components

The CPU The brain. Performs all major calculations. Controls and manages the operations of other components of the computer. Determines much of the performance of the computer. The 2 basic components of the CPU are: –The Control Unit (CU). –The Arithmetic Logic Unit (ALU).

The Control Unit (CU) It selects and interprets program instructions and then sees that they are executed. Contains: –Special purpose registers. a) instruction register (IR) and b) program control register (PCR). –A decoder to perform various activities. IR holds the current instruction to be executed. PCR holds the address of the next instruction to be executed.

The decoder has necessary circuitry to interpret the meaning of every instruction supported by the CPU. Each instruction is determined by microcode – which tell the CPU how to execute the instruction. CU does no processing by itself. It coordinates the entire computer system including I/O units. Basic task – summary: –Obtain instructions from program stored in memory. –Interpret/decode those instructions. –Issue signals. –The signals cause other units of the system to do their tasks.

The ALU Actual data processing takes place here. CU hands control over to the ALU when it encounters instructions such as add, divide etc. Contains: –Special purpose registers. –Circuitry to perform arithmetic & logic operations such as adder. Example: CU might load 2 numbers into the ALU registers and then tell the ALU to add them.

Instruction Set A ser of machine instructions supported by the processor such as add, compare etc. Each different processor has different instruction set. So machine language programs for one processor will not execute in another processor. When a manufacturer develops a CPU, they try to maintain upward compatibility.

Registers Temporary storage of data. Not a part of main memory. CPU always puts data from RAM to internal register before it processes that data Most CPU registers of today are of 32 or 64 bits. Known as word size. The bigger the word size the faster the CPU can process data.

Number of registers vary from computer to computer. Some are common to all computers: –Memory address register (MAR) Holds address of active memory location. Loaded from PCR. –Memory buffer register (MBR) Temporary storage for memory contents. Instructions are transferred to IR. Data are accessible to the ALU registers and can also be sent to I/O registers. Data needed to be written in memory is placed here first.

–Program control register (PCR): Holds memory address of next instruction to be executed. –Accumulator register (A): Holds data and result after processing. Mostly used. Result that is to be written in memory is transferred from here to MBR. –Instruction register (IR): Holds current instruction to be executed. The operation part is sent to CU. Address is part sent to MAR. –I/O register (I/O): Used to talk to I/O devices. Data & instruction from/to I/O devices are first put in this register.

Processor speed Operations of ALU and CU are synchronized by an internal clock called system clock. Generates electrical pulses. Several clock cycles are needed to execute a single instruction. (fetch, decode, execute). Measured in megahertz. MHz and now-a- days GHz.

Types of processor CISC (complex instruction set computer) –Supports a large number of instructions. –Makes it easier to translate high level languages. –Adds more circuitry and complexity to the overall design of the CPU. –Supports variable length instructions. –Supports various addressing modes. –Expensive. –Makes the job of machine level programmer easier. –Most processors of today are CISC. Intel’s Pentium.

RISC (reduced instruction set computers): –Low design complexity. –Supports few number of instructions. –Complex instructions are performed by the basic instructions. E.g. multiplication is performed by repeated addition. –Fixed length instructions. –Supports small number of addressing modes. –Puts extra burden on machine language programmers. –Less expensive. –Faster for most applications. –Motorola’s processors.