The 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.
Memory. Memory.
Machine cycle.
The Fetch Execute Cycle
Central Processing Unit
CS364 CH16 Control Unit Operation
Control path Recall that the control path is the physical entity in a processor which: fetches instructions, fetches operands, decodes instructions, schedules.
Arithmetic Logic Unit (ALU)
1  1998 Morgan Kaufmann Publishers We will be reusing functional units –ALU used to compute address and to increment PC –Memory used for instruction and.
Damian BrowneLuis PabonPedro Tovar The operation of a computer in executing a program consists of a sequence of Instruction Cycles, with one machine.
The CPU. Parts of the CPU Control Unit Arithmetic & Logic Unit Registers.
Computer Organization and Architecture Tutorial 2 Kenneth Lee.
Stored Program Concept: The Hardware View
The processor and main memory chapter 4, Exploring the Digital Domain The Development and Basic Organization of Computers.
10/18/2005Comp 120 Fall October Questions? Instruction Execution.
The central processing unit and main memory chapter 4, Exploring the Digital Domain The Development and Basic Organization of Computers.
Basic Computer Organization, CPU L1 Prof. Sin-Min Lee Department of Computer Science.
Dale & Lewis Chapter 5 Computing components. Let’s design a computer Generic CPU with registers −Program counter (PC) – 5 bits (size of addresses) −Instruction.
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.
Computer Science 210 Computer Organization The Instruction Execution Cycle.
SAP1 (Simple-As-Possible) Computer
Computer Science 210 Computer Organization The von Neumann Architecture.
Computer Architecture and the Fetch-Execute Cycle
Computer Architecture and the Fetch-Execute Cycle
CPU Design. Introduction – The CPU must perform three main tasks: Communication with memory – Fetching Instructions – Fetching and storing data Interpretation.
Computer Architecture Lecture 09 Fasih ur Rehman.
Model Computer CPU Arithmetic Logic Unit Control Unit Memory Unit
DH2T 34 – HNC Computer Architecture 1 Lecture 14 The Fetch-Decode-Execute Cycle [1]. © C Nyssen/Aberdeen College 2003 All images © C Nyssen/Aberdeen College.
Fetch-execute cycle.
Computer Systems - Registers. Starter… Discuss in pairs the definition of the following Control Unit Arithmetic and Logic Unit Registers Internal clock.
D75P 34 – HNC Computer Architecture
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
University of Tehran 1 Microprocessor System Design Processor Timing.
Dale & Lewis Chapter 5 Computing components
Structure and Role of a Processor
Multicycle datapath.
Central Processing Unit Decode Cycle. Central Processing Unit Current Instruction Register (CIR) I1 The fetch cycle has transferred an instruction from.
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.
Lecture 13 - Introduction to the Central Processing Unit (CPU)
Computer Science 210 Computer Organization
Five Execution Steps Instruction Fetch
MIPS Instructions.
ADVANCED PROCESSOR ARCHITECTURE
Computer Science 210 Computer Organization
Data Representation – Instructions
The fetch-execute cycle
Computer Science 210 Computer Organization
Functional Units.
COMS 161 Introduction to Computing
Computer Organization and ASSEMBLY LANGUAGE
Topic 6 LC-3.
The Little Man Computer
Multicycle Approach We will be reusing functional units
Fundamental Concepts Processor fetches one instruction at a time and perform the operation specified. Instructions are fetched from successive memory locations.
THE FETCH-EXECUTE CYCLE.
PIPELINING Santosh Lakkaraju CS 147 Dr. Lee.
Multicycle Design.
GCSE OCR 1 The CPU Computer Science J276 Unit 1
THE FETCH-EXECUTE CYCLE.
A Top-Level View Of Computer Function And Interconnection
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
Presentation transcript:

The Fetch – Execute Cycle The control unit sets up the address bus by transferring the contents of the PC to the MAR The control unit activates the READ line on the control bus and the contents of the memory location are transferred to the MDR The control unit decodes and executes the instruction The instruction is transferred to the IR in the control unit The PC is incremented

Memory Read Operation The control unit sets up the address bus by transferring the memory address to be accessed to the MAR The control unit activates the READ line on the control bus and the contents of the memory location are transferred to the MDR If necessary the contents of the MDR are transferred to the Accumulator

Memory Write Operation The control unit sets up the address bus by transferring the memory address to be accessed to the MAR Set up data bus by transferring data to the MDR The control unit activates the WRITE line on the control bus and the contents of the MDR are transferred to the memory location