Fetch-Execute Cycle Fetch the next instruction Decode Execute It.

Slides:



Advertisements
Similar presentations
Fetch-Execute cycle. Memory Read operation Read from memory.
Advertisements

The Fetch – Execute Cycle
Memory. Memory.
Machine cycle.
Computer Architecture and the Fetch-Execute Cycle
Central Processing Unit
CS364 CH16 Control Unit Operation
Damian BrowneLuis PabonPedro Tovar The operation of a computer in executing a program consists of a sequence of Instruction Cycles, with one machine.
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.
CPS 101 Introduction to Computational Science Wensheng Shen Department of Computational Science SUNY Brockport.
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 Computer Processor
Lecture 13 - Introduction to the Central Processing Unit (CPU)
CPU Fetch/Execute Cycle
Von Neumann machine prior to von Neumann, special memories (e.g., mercury delay tubes, vacuum tubes) were used to store data, and programs were either.
Computer Science 210 Computer Organization The von Neumann Architecture.
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.
CPU Design. Introduction – The CPU must perform three main tasks: Communication with memory – Fetching Instructions – Fetching and storing data Interpretation.
The Central Processing Unit (CPU) and the Machine Cycle.
Model Computer CPU Arithmetic Logic Unit Control Unit Memory Unit
The structure COMPUTER ARCHITECTURE – The elementary educational computer.
Fetch-execute cycle.
A summary of TOY. 4 Main Components Data Processor Control Processor Memory Input/Output Device.
Computer Systems - Registers. Starter… Discuss in pairs the definition of the following Control Unit Arithmetic and Logic Unit Registers Internal clock.
Dale Roberts Department of Computer and Information Science, School of Science, IUPUI CSCI N305 Information Representation: Machine Instructions.
September 26, 2001Systems Architecture I1 Systems Architecture I (CS ) Lecture 2: Implementation of a Simplified Computer Jeremy R. Johnson Wednesday,
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.
Computer Systems Organization
Dale & Lewis Chapter 5 Computing components
Question What technology differentiates the different stages a computer had gone through from generation 1 to present?
Jeremy R. Johnson William M. Mongan
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.
Types of Micro-operation  Transfer data between registers  Transfer data from register to external  Transfer data from external to register  Perform.
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;
Stored Program Concept Learning Objectives Learn the meaning of the stored program concept The processor and its components The fetch-decode-execute and.
OCR GCSE Computer Science Teaching and Learning Resources
Von Neumann architecture
Chapter 10: Computer systems (1)
Lecture 13 - Introduction to the Central Processing Unit (CPU)
Computer Science 210 Computer Organization
Five Execution Steps Instruction Fetch
פרק 2: חיווט, זיכרונות בנקים זוגיים ואי-זוגיים
System Architecture 1 Chapter 2.
The fetch-execute cycle
Functional Units.
Intel 8080 Processor The 8080 was an 8-bit processor
Systems Architecture I (CS ) Lecture 2: A Simplified Computer
The Little Man Computer
von Neumann Architecture CPU
THE FETCH-EXECUTE CYCLE.
ARM7TDMI Block Diagram Barrel Shifter Booth Multiplie r Data Out Register. D[31:0] Control Lines Data In Register. B busA bus ALU bus PC A[31:0] A.L.U.
ARM7TDMI Block Diagram Barrel Shifter Booth Multiplie r Data Out Register. D[31:0] Control Lines Data In Register. B busA bus ALU bus PC A[31:0] A.L.U.
GCSE OCR 1 The CPU Computer Science J276 Unit 1
Computer Concept and Practice
THE FETCH-EXECUTE CYCLE.
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.
Instruction execution and ALU
Computer Architecture
COMPUTER ARCHITECTURE
Presentation transcript:

Fetch-Execute Cycle Fetch the next instruction Decode Execute It

Instruction Memory A (LOAD #10) (STORE 25) (LOAD #05) (ADD 25) A (STORE 26) Data Memory A00 001B00 001C00 MAR PC MBR CIR Op-CodeOperand ACC ALU PCProgram Counter MARMemory Address Register MBRMemory Buffer Register CIRCurrent Instruction Register ALUArithmetic and Logic Unit ACCAccumulator

Instruction Memory A (LOAD #10) (STORE 25) (LOAD #05) (ADD 25) A (STORE 26) Data Memory A00 001B00 001C00 MAR PC 2000 MBR CIR Op-CodeOperand ACC ALU PCProgram Counter MARMemory Address Register MBRMemory Buffer Register CIRCurrent Instruction Register ALUArithmetic and Logic Unit ACCAccumulator 1 FETCH

Instruction Memory A (LOAD #10) (STORE 25) (LOAD #05) (ADD 25) A (STORE 26) Data Memory A00 001B00 001C00 MAR 2000 PC 2000 MBR CIR Op-CodeOperand ACC ALU PCProgram Counter MARMemory Address Register MBRMemory Buffer Register CIRCurrent Instruction Register ALUArithmetic and Logic Unit ACCAccumulator 1 FETCH

Instruction Memory A (LOAD #10) (STORE 25) (LOAD #05) (ADD 25) A (STORE 26) Data Memory A00 001B00 001C00 MAR 2000 PC 2002 MBR CIR Op-CodeOperand ACC ALU PCProgram Counter MARMemory Address Register MBRMemory Buffer Register CIRCurrent Instruction Register ALUArithmetic and Logic Unit ACCAccumulator 1 FETCH

Instruction Memory A (LOAD #10) (STORE 25) (LOAD #05) (ADD 25) A (STORE 26) Data Memory A00 001B00 001C00 MAR 2000 PC 2002 MBR CIR Op-CodeOperand ACC ALU PCProgram Counter MARMemory Address Register MBRMemory Buffer Register CIRCurrent Instruction Register ALUArithmetic and Logic Unit ACCAccumulator 1 FETCH

Instruction Memory A (LOAD #10) (STORE 25) (LOAD #05) (ADD 25) A (STORE 26) Data Memory A00 001B00 001C00 MAR 2000 PC 2002 MBR 100A CIR Op-CodeOperand ACC ALU PCProgram Counter MARMemory Address Register MBRMemory Buffer Register CIRCurrent Instruction Register ALUArithmetic and Logic Unit ACCAccumulator FETCH 1

Instruction Memory A (LOAD #10) (STORE 25) (LOAD #05) (ADD 25) A (STORE 26) Data Memory A00 001B00 001C00 MAR 2000 PC 2002 MBR 100A CIR Op-CodeOperand ACC ALU PCProgram Counter MARMemory Address Register MBRMemory Buffer Register CIRCurrent Instruction Register ALUArithmetic and Logic Unit ACCAccumulator 1 DECODE

Instruction Memory A (LOAD #10) (STORE 25) (LOAD #05) (ADD 25) A (STORE 26) Data Memory A00 001B00 001C00 MAR 2000 PC 2002 MBR 100A CIR Op-CodeOperand ACC ALU PCProgram Counter MARMemory Address Register MBRMemory Buffer Register CIRCurrent Instruction Register ALUArithmetic and Logic Unit ACCAccumulator DECODE Instruction Decoded 1

Instruction Memory A (LOAD #10) (STORE 25) (LOAD #05) (ADD 25) A (STORE 26) Data Memory A00 001B00 001C00 MAR 2000 PC 2002 MBR 100A CIR Op-CodeOperand ACC 0A ALU PCProgram Counter MARMemory Address Register MBRMemory Buffer Register CIRCurrent Instruction Register ALUArithmetic and Logic Unit ACCAccumulator EXECUTE 1

Instruction Memory A (LOAD #10) (STORE 25) (LOAD #05) (ADD 25) A (STORE 26) Data Memory A00 001B00 001C00 MAR 2002 PC 2002 MBR CIR Op-CodeOperand ACC 0A ALU PCProgram Counter MARMemory Address Register MBRMemory Buffer Register CIRCurrent Instruction Register ALUArithmetic and Logic Unit ACCAccumulator 2 FETCH

Instruction Memory A (LOAD #10) (STORE 25) (LOAD #05) (ADD 25) A (STORE 26) Data Memory A00 001B00 001C00 MAR 2002 PC 2004 MBR CIR Op-CodeOperand ACC 0A ALU PCProgram Counter MARMemory Address Register MBRMemory Buffer Register CIRCurrent Instruction Register ALUArithmetic and Logic Unit ACCAccumulator 2 FETCH

Instruction Memory A (LOAD #10) (STORE 25) (LOAD #05) (ADD 25) A (STORE 26) Data Memory A00 001B00 001C00 MAR 2002 PC 2004 MBR CIR Op-CodeOperand ACC 0A ALU PCProgram Counter MARMemory Address Register MBRMemory Buffer Register CIRCurrent Instruction Register ALUArithmetic and Logic Unit ACCAccumulator 2 FETCH

Instruction Memory A (LOAD #10) (STORE 25) (LOAD #05) (ADD 25) A (STORE 26) Data Memory A00 001B00 001C00 MAR 2002 PC 2004 MBR 8019 CIR Op-CodeOperand ACC 0A ALU PCProgram Counter MARMemory Address Register MBRMemory Buffer Register CIRCurrent Instruction Register ALUArithmetic and Logic Unit ACCAccumulator FETCH 2

Instruction Memory A (LOAD #10) (STORE 25) (LOAD #05) (ADD 25) A (STORE 26) Data Memory A00 001B00 001C00 MAR 2002 PC 2004 MBR 8019 CIR Op-CodeOperand ACC 0A ALU PCProgram Counter MARMemory Address Register MBRMemory Buffer Register CIRCurrent Instruction Register ALUArithmetic and Logic Unit ACCAccumulator 2 DECODE

Instruction Memory A (LOAD #10) (STORE 25) (LOAD #05) (ADD 25) A (STORE 26) Data Memory A00 001B00 001C00 MAR 2000 PC 2004 MBR 8019 CIR Op-CodeOperand ACC 0A ALU PCProgram Counter MARMemory Address Register MBRMemory Buffer Register CIRCurrent Instruction Register ALUArithmetic and Logic Unit ACCAccumulator DECODE Instruction Decoded 2

Instruction Memory A (LOAD #10) (STORE 25) (LOAD #05) (ADD 25) A (STORE 26) Data Memory A00 001B00 001C00 MAR 0019 PC 2004 MBR 0A CIR Op-CodeOperand ACC 0A ALU PCProgram Counter MARMemory Address Register MBRMemory Buffer Register CIRCurrent Instruction Register ALUArithmetic and Logic Unit ACCAccumulator EXECUTE 2

Instruction Memory A (LOAD #10) (STORE 25) (LOAD #05) (ADD 25) A (STORE 26) Data Memory A 001A00 001B00 001C00 MAR 0019 PC 2004 MBR 0A CIR Op-CodeOperand ACC 0A ALU PCProgram Counter MARMemory Address Register MBRMemory Buffer Register CIRCurrent Instruction Register ALUArithmetic and Logic Unit ACCAccumulator 2 EXECUTE

Instruction Memory A (LOAD #10) (STORE 25) (LOAD #05) (ADD 25) A (STORE 26) Data Memory A 001A00 001B00 001C00 MAR 2004 PC 2004 MBR CIR Op-CodeOperand ACC ALU PCProgram Counter MARMemory Address Register MBRMemory Buffer Register CIRCurrent Instruction Register ALUArithmetic and Logic Unit ACCAccumulator 3 FETCH

Instruction Memory A (LOAD #10) (STORE 25) (LOAD #05) (ADD 25) A (STORE 26) Data Memory A 001A00 001B00 001C00 MAR 2004 PC 2006 MBR CIR Op-CodeOperand ACC ALU PCProgram Counter MARMemory Address Register MBRMemory Buffer Register CIRCurrent Instruction Register ALUArithmetic and Logic Unit ACCAccumulator 3 FETCH

Instruction Memory A (LOAD #10) (STORE 25) (LOAD #05) (ADD 25) A (STORE 26) Data Memory A 001A00 001B00 001C00 MAR 2004 PC 2006 MBR CIR Op-CodeOperand ACC ALU PCProgram Counter MARMemory Address Register MBRMemory Buffer Register CIRCurrent Instruction Register ALUArithmetic and Logic Unit ACCAccumulator 3 FETCH

Instruction Memory A (LOAD #10) (STORE 25) (LOAD #05) (ADD 25) A (STORE 26) Data Memory A 001A00 001B00 001C00 MAR 2004 PC 2006 MBR 1005 CIR Op-CodeOperand ACC ALU PCProgram Counter MARMemory Address Register MBRMemory Buffer Register CIRCurrent Instruction Register ALUArithmetic and Logic Unit ACCAccumulator FETCH 3

Instruction Memory A (LOAD #10) (STORE 25) (LOAD #05) (ADD 25) A (STORE 26) Data Memory A 001A00 001B00 001C00 MAR 2004 PC 2006 MBR 1005 CIR Op-CodeOperand ACC ALU PCProgram Counter MARMemory Address Register MBRMemory Buffer Register CIRCurrent Instruction Register ALUArithmetic and Logic Unit ACCAccumulator 3 DECODE

Instruction Memory A (LOAD #10) (STORE 25) (LOAD #05) (ADD 25) A (STORE 26) Data Memory A 001A00 001B00 001C00 MAR 2004 PC 2006 MBR 1005 CIR Op-CodeOperand ACC ALU PCProgram Counter MARMemory Address Register MBRMemory Buffer Register CIRCurrent Instruction Register ALUArithmetic and Logic Unit ACCAccumulator DECODE Instruction Decoded 3

Instruction Memory A (LOAD #10) (STORE 25) (LOAD #05) (ADD 25) A (STORE 26) Data Memory A 001A00 001B00 001C00 MAR 2004 PC 2006 MBR 1005 CIR Op-CodeOperand ACC 05 ALU PCProgram Counter MARMemory Address Register MBRMemory Buffer Register CIRCurrent Instruction Register ALUArithmetic and Logic Unit ACCAccumulator EXECUTE 3

Instruction Memory A (LOAD #10) (STORE 25) (LOAD #05) (ADD 25) A (STORE 26) Data Memory A 001A00 001B00 001C00 MAR 2006 PC 2006 MBR CIR Op-CodeOperand ACC 05 ALU PCProgram Counter MARMemory Address Register MBRMemory Buffer Register CIRCurrent Instruction Register ALUArithmetic and Logic Unit ACCAccumulator 4 FETCH

Instruction Memory A (LOAD #10) (STORE 25) (LOAD #05) (ADD 25) A (STORE 26) Data Memory A 001A00 001B00 001C00 MAR 2006 PC 2008 MBR CIR Op-CodeOperand ACC 05 ALU PCProgram Counter MARMemory Address Register MBRMemory Buffer Register CIRCurrent Instruction Register ALUArithmetic and Logic Unit ACCAccumulator 4 FETCH

Instruction Memory A (LOAD #10) (STORE 25) (LOAD #05) (ADD 25) A (STORE 26) Data Memory A 001A00 001B00 001C00 MAR 2006 PC 2008 MBR CIR Op-CodeOperand ACC 05 ALU PCProgram Counter MARMemory Address Register MBRMemory Buffer Register CIRCurrent Instruction Register ALUArithmetic and Logic Unit ACCAccumulator 4 FETCH

Instruction Memory A (LOAD #10) (STORE 25) (LOAD #05) (ADD 25) A (STORE 26) Data Memory A 001A00 001B00 001C00 MAR 2006 PC 2008 MBR 4019 CIR Op-CodeOperand ACC 05 ALU PCProgram Counter MARMemory Address Register MBRMemory Buffer Register CIRCurrent Instruction Register ALUArithmetic and Logic Unit ACCAccumulator FETCH 4

Instruction Memory A (LOAD #10) (STORE 25) (LOAD #05) (ADD 25) A (STORE 26) Data Memory A 001A00 001B00 001C00 MAR 2006 PC 2008 MBR 4019 CIR Op-CodeOperand ACC 05 ALU PCProgram Counter MARMemory Address Register MBRMemory Buffer Register CIRCurrent Instruction Register ALUArithmetic and Logic Unit ACCAccumulator 4 DECODE

Instruction Memory A (LOAD #10) (STORE 25) (LOAD #05) (ADD 25) A (STORE 26) Data Memory A 001A00 001B00 001C00 MAR 2006 PC 2008 MBR 4019 CIR Op-CodeOperand ACC 05 ALU PCProgram Counter MARMemory Address Register MBRMemory Buffer Register CIRCurrent Instruction Register ALUArithmetic and Logic Unit ACCAccumulator DECODE Instruction Decoded 4

Instruction Memory A (LOAD #10) (STORE 25) (LOAD #05) (ADD 25) A (STORE 26) Data Memory A 001A00 001B00 001C00 MAR 019 PC 2008 MBR CIR Op-CodeOperand ACC 05 ALU PCProgram Counter MARMemory Address Register MBRMemory Buffer Register CIRCurrent Instruction Register ALUArithmetic and Logic Unit ACCAccumulator EXECUTE 4

Instruction Memory A (LOAD #10) (STORE 25) (LOAD #05) (ADD 25) A (STORE 26) Data Memory A 001A00 001B00 001C00 MAR 019 PC 2008 MBR CIR Op-CodeOperand ACC 05 ALU PCProgram Counter MARMemory Address Register MBRMemory Buffer Register CIRCurrent Instruction Register ALUArithmetic and Logic Unit ACCAccumulator EXECUTE 4

Instruction Memory A (LOAD #10) (STORE 25) (LOAD #05) (ADD 25) A (STORE 26) Data Memory A 001A00 001B00 001C00 MAR 019 PC 2008 MBR 0A CIR Op-CodeOperand ACC 05 ALU PCProgram Counter MARMemory Address Register MBRMemory Buffer Register CIRCurrent Instruction Register ALUArithmetic and Logic Unit ACCAccumulator EXECUTE 4

Instruction Memory A (LOAD #10) (STORE 25) (LOAD #05) (ADD 25) A (STORE 26) Data Memory A 001A00 001B00 001C00 MAR 019 PC 2008 MBR 0A CIR Op-CodeOperand ACC ALU PCProgram Counter MARMemory Address Register MBRMemory Buffer Register CIRCurrent Instruction Register ALUArithmetic and Logic Unit ACCAccumulator EXECUTE 4 0A + 05 = 0F

Instruction Memory A (LOAD #10) (STORE 25) (LOAD #05) (ADD 25) A (STORE 26) Data Memory A 001A00 001B00 001C00 MAR 019 PC 2008 MBR 0A CIR Op-CodeOperand ACC 0F ALU PCProgram Counter MARMemory Address Register MBRMemory Buffer Register CIRCurrent Instruction Register ALUArithmetic and Logic Unit ACCAccumulator EXECUTE 4

Instruction Memory A (LOAD #10) (STORE 25) (LOAD #05) (ADD 25) A (STORE 26) Data Memory A 001A00 001B00 001C00 MAR 2008 PC 2008 MBR CIR Op-CodeOperand ACC 0F ALU PCProgram Counter MARMemory Address Register MBRMemory Buffer Register CIRCurrent Instruction Register ALUArithmetic and Logic Unit ACCAccumulator 5 FETCH

Instruction Memory A (LOAD #10) (STORE 25) (LOAD #05) (ADD 25) A (STORE 26) Data Memory A 001A00 001B00 001C00 MAR 2008 PC 2010 MBR CIR Op-CodeOperand ACC 0F ALU PCProgram Counter MARMemory Address Register MBRMemory Buffer Register CIRCurrent Instruction Register ALUArithmetic and Logic Unit ACCAccumulator 5 FETCH

Instruction Memory A (LOAD #10) (STORE 25) (LOAD #05) (ADD 25) A (STORE 26) Data Memory A 001A00 001B00 001C00 MAR 2008 PC 2010 MBR CIR Op-CodeOperand ACC 0F ALU PCProgram Counter MARMemory Address Register MBRMemory Buffer Register CIRCurrent Instruction Register ALUArithmetic and Logic Unit ACCAccumulator 5 FETCH

Instruction Memory A (LOAD #10) (STORE 25) (LOAD #05) (ADD 25) A (STORE 26) Data Memory A 001A00 001B00 001C00 MAR 2008 PC 2010 MBR 801A CIR Op-CodeOperand ACC 0F ALU PCProgram Counter MARMemory Address Register MBRMemory Buffer Register CIRCurrent Instruction Register ALUArithmetic and Logic Unit ACCAccumulator FETCH 5

Instruction Memory A (LOAD #10) (STORE 25) (LOAD #05) (ADD 25) A (STORE 26) Data Memory A 001A00 001B00 001C00 MAR 2008 PC 2010 MBR 801A CIR Op-CodeOperand ACC 0F ALU PCProgram Counter MARMemory Address Register MBRMemory Buffer Register CIRCurrent Instruction Register ALUArithmetic and Logic Unit ACCAccumulator 5 DECODE

Instruction Memory A (LOAD #10) (STORE 25) (LOAD #05) (ADD 25) A (STORE 26) Data Memory A 001A00 001B00 001C00 MAR 2008 PC 2010 MBR 801A CIR Op-CodeOperand ACC 0F ALU PCProgram Counter MARMemory Address Register MBRMemory Buffer Register CIRCurrent Instruction Register ALUArithmetic and Logic Unit ACCAccumulator DECODE Instruction Decoded 5

Instruction Memory A (LOAD #10) (STORE 25) (LOAD #05) (ADD 25) A (STORE 26) Data Memory A 001A00 001B00 001C00 MAR 001A PC 2010 MBR 0F CIR Op-CodeOperand ACC 0F ALU PCProgram Counter MARMemory Address Register MBRMemory Buffer Register CIRCurrent Instruction Register ALUArithmetic and Logic Unit ACCAccumulator 5 EXECUTE

Instruction Memory A (LOAD #10) (STORE 25) (LOAD #05) (ADD 25) A (STORE 26) Data Memory A 001A0F 001B00 001C00 MAR 001A PC 2010 MBR 0F CIR Op-CodeOperand ACC 0F ALU PCProgram Counter MARMemory Address Register MBRMemory Buffer Register CIRCurrent Instruction Register ALUArithmetic and Logic Unit ACCAccumulator 5 EXECUTE