CPU Structure and Instruction Execution Timothy C. Rice Jr., MIT.

Slides:



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

The Fetch – Execute Cycle
Memory. Memory.
Machine cycle.
ARITHMETIC LOGIC SHIFT UNIT
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.
Introduction to Microprocessors (CS 45) Session Microprocessor - 2.
Processor System Architecture
DH2T 34 Computer Architecture 1 LO2 Lesson Two CPU and Buses.
The CPU. Parts of the CPU Control Unit Arithmetic & Logic Unit Registers.
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.
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.
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.
Lecture 13 - Introduction to the Central Processing Unit (CPU)
KEY COMPONENTS OF A COMPUTER SYSTEM ANDREW LOLAVAR.
CPU Fetch/Execute Cycle
The von Neumann Model – Chapter 4 COMP 2620 Dr. James Money COMP
Basic Operational Concepts of a Computer
Computer Systems 1 Fundamentals of Computing The CPU & Von Neumann.
Computing hardware CPU.
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.
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.
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.
Fetch-execute cycle.
INTRODUCTION.  Upon completing this topic, you should be able to: Illustrate a basic elements of digital computer system and their functions, Depicts.
Computer Systems - Processor. Objectives To investigate and understand the structure and role of the processor.
Computer Hardware A computer is made of internal components Central Processor Unit Internal External and external components.
Computer Structure & Architecture 7b - CPU & Buses.
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.
HOW COMPUTERS WORK THE CPU & MEMORY. THE PARTS OF A COMPUTER.
The Central Processing Unit (CPU)
Central Processing Unit (CPU) MATTHEW BOWEN. Function  The function of the CPU is to execute all of the commands and calculations or “processes” that.
Question What technology differentiates the different stages a computer had gone through from generation 1 to present?
Computer Architecture Lecture 4 by Engineer A. Lecturer Aymen Hasan AlAwady 17/11/2013 University of Kufa - Informatics Center for Research and Rehabilitation.
Processor Organization and Architecture Module III.
1 Basic Processor Architecture. 2 Building Blocks of Processor Systems CPU.
The Processor & its components. The CPU The brain. Performs all major calculations. Controls and manages the operations of other components of the computer.
1 3 Computing System Fundamentals 3.2 Computer Architecture.
CPUz 4 n00bz.
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;
Riyadh Philanthropic Society For Science Prince Sultan College For Woman Dept. of Computer & Information Sciences CS 251 Introduction to Computer Organization.
CPU Lesson 2.
GCSE Computing - The CPU
Chapter 10: Computer systems (1)
Stored program concept
Edexcel GCSE Computer Science Topic 15 - The Processor (CPU)
THE CPU i Bytes 1.1.
Components of Computer
Computer Architecture
Number Representations and Basic Processor Architecture
Chapter 14 Control Unit Operation
1-2 – Central Processing Unit
GCSE Computing - The CPU
Information Representation: Machine Instructions
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
Presentation transcript:

CPU Structure and Instruction Execution Timothy C. Rice Jr., MIT

Chapter Overview CPU Structure Flow of Data Execution Cycle - Fetch Cycle - Decode Cycle - Execute Cycle TCRJR

CPU Structure Simplified CPU Structure Diagram TCRJR

CPU Structure Arithmetic & Logical Unit (ALU) - deals with operations such as addition, subtraction, and multiplication of integers and Boolean operations - receives control signals from the control unit telling it to carry out these operations TCRJR

CPU Structure Control Unit (CU) - controls the movement of instructions in and out of the processor - controls the operation of the ALU - consists of a decoder, control logic circuits, and a clock to ensure everything happens at the correct time - responsible for performing the instruction execution cycle. TCRJR

CPU Structure Register Array - a small amount of internal memory - used for the quick storage and retrieval of data and instructions - Some registers are the program counter, instruction register, accumulator, memory address register and stack pointer. TCRJR

CPU Structure System Bus - comprised of the control bus, data bus and address bus - used for connections between the processor, memory and peripherals, and transferral of data between the various parts. TCRJR

CPU Structure Memory - not an actual part of the CPU - housed on the motherboard - where the program being executed is stored TCRJR

Flow of Data A flow diagram illustrating the flow of data within the PC during program execution and the saving of data. TCRJR

Instruction Execution Cycle Once a program is in memory it has to be executed. To do this, each instruction must be looked at, decoded and acted upon in turn until the program is completed. To ensure that the execution proceeds smoothly, it is also necessary to synchronise the activates of the processor. TCRJR

Instruction Execution Cycle TCRJR

Instruction Execution Cycle Fetch Cycle - Takes the address required from memory - Stores it in the instruction register - Moves the program counter on one so that it points to the next instruction. TCRJR

Instruction Execution Cycle Decode Cycle - Here, the control unit checks the instruction that is now stored within the instruction register. It determines which opcode and addressing mode have been used, and as such what actions need to be carried out in order to execute the instruction in question. TCRJR

Instruction Execution Cycle Instructions used in presentation TCRJR

Instruction Execution Cycle Execute - Here, the operation will take place. TCRJR

Summary The processor consists of 5 parts, the Arithmetic & Logic Unit, Control Unit, Register Array, System Bus, and the Memory. The instruction execution cycle has 3 processes namely the Fetch Cycle, Decode Cycle, and the Execute Cycle TCRJR

End TCRJR