CPU Fetch/Execute Cycle

Slides:



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

Fetch-Execute cycle. Memory Read operation Read from memory.
The Fetch – Execute Cycle
Memory. Memory.
Machine cycle.
The Fetch Execute Cycle
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.
The Microprocessor and its Architecture
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.
The CPU. Parts of the CPU Control Unit Arithmetic & Logic Unit Registers.
The CPU - Outline. Components of CPU Englander p
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.
Elements of the Computer (How a processor works)
Dale & Lewis Chapter 5 Computing components. Let’s design a computer Generic CPU with registers −Program counter (PC) – 5 bits (size of addresses) −Instruction.
CPU Structure and Instruction Execution Timothy C. Rice Jr., MIT.
A-Level Computing#BristolMet Session Objectives#4 MUST describe the differences between the main types of primary memory SHOULD describe the function and.
The Computer Processor
Lecture 13 - Introduction to the Central Processing Unit (CPU)
KEY COMPONENTS OF A COMPUTER SYSTEM ANDREW LOLAVAR.
Fetch Execute Cycle Travis Griffiths. Naming Conventions and Disclaimer Individual registers in a particular CPU will have different names depending on.
A-Level Computing#BristolMet Session Objectives#5 MUST identify different buses and registers used in a CPU SHOULD describe the use of buses to send information.
Computer Systems 1 Fundamentals of Computing The CPU & Von Neumann.
Lecture 8 Presented By Dr. Shazzad Hosain Asst. Prof. EECS, NSU.
Computer Science 210 Computer Organization The von Neumann Architecture.
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.
Computer Architecture and the Fetch-Execute Cycle
Computer Architecture and the Fetch-Execute Cycle
The CPU Central Processing Unit. 2 Reminder - how it fits together processor (CPU) memory I/O devices bus.
Chapter 8: The Very Simple Computer
Model Computer CPU Arithmetic Logic Unit Control Unit Memory Unit
General Concepts of Computer Organization Overview of Microcomputer.
Fetch-execute cycle.
Computer Systems - Registers. Starter… Discuss in pairs the definition of the following Control Unit Arithmetic and Logic Unit Registers Internal clock.
Computer Structure & Architecture 7b - CPU & Buses.
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.
Fetch-Execute Cycle Fetch the next instruction Decode Execute It.
Computer Systems Organization
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.
Dale & Lewis Chapter 5 Computing components
CS61C L20 Datapath © UC Regents 1 Microprocessor James Tan Adapted from D. Patterson’s CS61C Copyright 2000.
Structure and Role of a Processor
Central Processing Unit Decode Cycle. Central Processing Unit Current Instruction Register (CIR) I1 The fetch cycle has transferred an instruction from.
CPUz 4 n00bz.
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.
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;
Computer Architecture 1 CPU IAS (The computer’s main memory) Store (e.g. Disk, DVD) Input/output Interfaces Clock Bus Keyboard, printer, mouse monitor,
OCR GCSE Computer Science Teaching and Learning Resources
Von Neumann architecture
Chapter 10: Computer systems (1)
Computer Science 210 Computer Organization
Lesson Objectives A note about notes: Aims
Five Execution Steps Instruction Fetch
Teaching Computing to GCSE
System Architecture 1 Chapter 2.
The fetch-execute cycle
COMS 161 Introduction to Computing
CPU Key Revision Points.
The Little Man Computer
THE FETCH-EXECUTE CYCLE.
GCSE OCR 1 The CPU Computer Science J276 Unit 1
THE FETCH-EXECUTE CYCLE.
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 Fetch/Execute Cycle Computer program Electronic clock Computer Memory Data/address buses Fetch/Execute Cycle Accumulator ALU/Control Unit/Program Counter CIR/MDR/MAR

Simple Microprocessor Memory Electronic Clock Arithmetic Logic Unit Accumulator Control Unit Memory Address Register Current Instruction Register Memory Data Register Program Counter Internal Bus Special Internal Bus Structure Data Bus Address Bus Data bus

Simple Microprocessor Memory Simple Microprocessor 10 00000010 (2) Electronic Clock 11 00000011 (3) 12 00000000 (R) Internal Bus … PC Data Control Unit Internal Bus Bus MAR Address Bus Data Accumulator Bus Data 100 10011010 CIR Special Internal Bus Structure Bus 101 11001011 Data 102 11101100 MDR Data bus ALU Bus

Simple Microprocessor Memory Simple Microprocessor 10 00000010 (2) Electronic Clock 11 00000011 (3) 12 00000000 (R) Internal Bus … PC 01100100 = 100 Data Control Unit Internal Bus Bus MAR Address Bus Data Accumulator Bus Data 100 10011010 CIR Special Internal Bus Structure Bus 101 11001011 Data 102 11101100 MDR Data bus ALU Bus

Fetch Phase (1st Instruction) Memory Fetch Phase (1st Instruction) 10 00000010 (2) Electronic Clock 11 00000011 (3) 12 00000000 (R) Internal Bus … PC 01100100 = 100 Data Control Unit Internal Bus Bus MAR Address Bus 0100100 Data Accumulator Bus Data 100 10011010 CIR Special Internal Bus Structure Bus 10011010 101 11001011 Data 102 11101100 MDR Data bus ALU Bus 10011010

1st Instruction Decoded Memory 1st Instruction Decoded 10 00000010 (2) Electronic Clock 11 00000011 (3) Load number from memory location 10 12 00000000 (R) Internal Bus … PC 01100101 = 101 Data Control Unit Internal Bus 10011010 Bus MAR Address Bus 0100100 Data Accumulator Bus Data 10011010 CIR Special Internal Bus Structure Bus 10011010 101 11001011 Data 102 11101100 MDR Data bus ALU Bus 10011010

1st Instruction Executed Memory 1st Instruction Executed 10 00000010 (2) Electronic Clock 11 00000011 (3) Load number from memory location 10 12 00000000 (R) Internal Bus … PC 01100101 = 101 Data Control Unit Internal Bus 10011010 Bus MAR Address Bus 00001010 Data Accumulator 00000010 Bus Data 10011010 CIR Special Internal Bus Structure Bus 10011010 101 11001011 Data 102 11101100 MDR Data bus ALU Bus 00000010

Fetch Phase (2nd Instruction) Memory Fetch Phase (2nd Instruction) 10 00000010 (2) Electronic Clock 11 00000011 (3) 12 00000000 (R) Internal Bus … PC 01100110 = 102 PC 01100101 = 101 Data Control Unit Internal Bus Bus MAR Address Bus 01100101 Data Accumulator 00000010 Bus Data 10011010 CIR Special Internal Bus Structure Bus 11001011 101 11001011 Data 102 11101100 MDR Data bus ALU Bus 11001011

2nd Instruction Decoded Memory 2nd Instruction Decoded 10 00000010 (2) Electronic Clock 11 00000011 (3) Load number from memory location 11 12 00000000 (R) Internal Bus … PC 01100110 = 102 Data Control Unit 11001011 Internal Bus Bus MAR Address Bus 01100101 Data Accumulator 00000010 Bus Data 10011010 CIR Special Internal Bus Structure Bus 11001011 11001011 Data 102 11101100 MDR Data bus ALU Bus 11001011

2nd Instruction Execution Memory 2nd Instruction Execution 10 00000010 (2) Electronic Clock 11 00000011 (3) 12 00000000 (R) Internal Bus … PC 01100110 = 102 Data Control Unit 11001011 Internal Bus Bus MAR Address Bus 00001011 Data Accumulator 00000101 00000010 Bus Data 10011010 CIR Special Internal Bus Structure Bus 11001011 11001011 Data 102 11101100 MDR Data bus 00000010 ALU + Bus 00000011 00000101 00000011