2
Most read
4
Most read
Fetch-execute Cycle
The Fetch-Execute Cycle
To execute a program you must first load the program and any relevant data
in to the computer’s memory (RAM) from disk.
The program and data is stored in memory until needed by the processor
(the stored program concept).
Main Memory
10101010
11101000
00110001
10100010
11100000
00001000
10100010
11110011
11111000
00110000
Address
Processor
11000000 00000000
11000000 00000001
11000000 00000010
11000000 00000011
11000000 00000100
11000000 00000101
11000000 00000110
11000000 00000111
11000000 00001001
11000000 00001001
The Fetch-Execute Cycle
A program may contain thousands of instructions but the processor can only
execute one instruction at a time.
•The first instruction is fetched from memory in to the processor where it is
decoded and executed.
•Then the second instruction is fetched and then executed and so on until the
program ends.
This is known as the FETCH – EXECUTE CYCLE.
LDA #B5
Processor
Memory Read Operation
ALU
Control
Unit
Memory
Data
Register
Memory
Address
RegisterOther
Registers
Processor Main Memory Address
00000000
00000001
00000010
00000011
00000100
00000101
00000110
00000111
00001000
00001001
Address Bus
Data Bus
Control Bus
1. The processor sets up the address bus with the required memory address by
placing it in the MAR
Memory Read Operation
ALU
Control
Unit
Memory
Data
Register
Memory
Address
RegisterOther
Registers
Processor Main Memory Address
00000000
00000001
00000010
00000011
00000100
00000101
00000110
00000111
00001000
00001001
Address Bus
Data Bus
Control Bus
2. The control unit activates the read line on the control bus
Memory Read Operation
ALU
Control
Unit
Memory
Data
Register
Memory
Address
RegisterOther
Registers
Processor Main Memory Address
00000000
00000001
00000010
00000011
00000100
00000101
00000110
00000111
00001000
00001001
Address Bus
Data Bus
Control Bus
3. The address bus opens the relevant memory location at that address
11110011
Memory Read Operation
ALU
Control
Unit
Memory
Data
Register
Memory
Address
RegisterOther
Registers
Processor Main Memory Address
00000000
00000001
00000010
00000011
00000100
00000101
00000110
00000111
00001000
00001001
Address Bus
Data Bus
Control Bus
4. The contents of the memory location are released, sent along the data bus
and into the MDR
11110011
Memory Read Operation
ALU
Control
Unit
Memory
Data
Register
Memory
Address
RegisterOther
Registers
Processor Main Memory Address
00000000
00000001
00000010
00000011
00000100
00000101
00000110
00000111
00001000
00001001
Address Bus
Data Bus
Control Bus
5. The data is then decoded and executed
Memory Write Operation
ALU
Control
Unit
Memory
Data
Register
Memory
Address
RegisterOther
Registers
Processor Main Memory Address
00000000
00000001
00000010
00000011
00000100
00000101
00000110
00000111
00001000
00001001
Address Bus
Data Bus
Control Bus
1. The processor sets up the address bus with the required memory address by
placing it in the MAR
Memory Write Operation
ALU
Control
Unit
Memory
Data
Register
Memory
Address
RegisterOther
Registers
Processor Main Memory Address
00000000
00000001
00000010
00000011
00000100
00000101
00000110
00000111
00001000
00001001
Address Bus
Data Bus
Control Bus
2. The processor sets up the data bus with the value to be stored in memory by
placing it in the MDR
Memory Write Operation
ALU
Control
Unit
Memory
Data
Register
Memory
Address
RegisterOther
Registers
Processor Main Memory Address
00000000
00000001
00000010
00000011
00000100
00000101
00000110
00000111
00001000
00001001
Address Bus
Data Bus
Control Bus
3. The control unit activates the write line on the control bus
Memory Write Operation
ALU
Control
Unit
Memory
Data
Register
Memory
Address
RegisterOther
Registers
Processor Main Memory Address
00000000
00000001
00000010
00000011
00000100
00000101
00000110
00000111
00001000
00001001
Address Bus
Data Bus
Control Bus
4. The address bus opens the relevant memory location at that address
Memory Write Operation
ALU
Control
Unit
Memory
Data
Register
Memory
Address
RegisterOther
Registers
Processor Main Memory Address
00000000
00000001
00000010
00000011
00000100
00000101
00000110
00000111
00001000
00001001
Address Bus
Data Bus
Control Bus
5. The contents of the memory data register are released, sent along the data
bus and into the memory location
11000111

More Related Content

PPTX
Microprogrammed Control Unit
PPTX
instruction cycle ppt
PPTX
Instruction Cycle in Computer Organization.pptx
PPTX
Computer architecture input output organization
PPT
Fetch decode-execute presentation
PPTX
Instruction Execution Cycle
PPTX
Lecture 3 instruction set
PPTX
General register organization (computer organization)
Microprogrammed Control Unit
instruction cycle ppt
Instruction Cycle in Computer Organization.pptx
Computer architecture input output organization
Fetch decode-execute presentation
Instruction Execution Cycle
Lecture 3 instruction set
General register organization (computer organization)

What's hot (20)

PPTX
Bus and memory transfer
PPTX
Instruction cycle.pptx
PPT
Computer architecture register transfer languages rtl
PPTX
Addressing modes
PPTX
Computer registers
PPT
Cpu organisation
PPT
Arithmetic Logic Unit (ALU)
PPTX
The Basic Organization of Computers
PPT
pipelining
PPTX
COMPUTER ORGANIZATION AND ARCHITECTURE
PPTX
Interrupts and types of interrupts
PPTX
Rtos concepts
PPT
Computer Organization and Architecture.
PDF
Addressing modes in computer organization
PDF
Processor Organization and Architecture
PPT
Computer architecture
PPTX
Hardwired control
PPTX
Asynchronous Data Transfer.pptx
PPTX
Cpu scheduling
PPTX
Computer architecture and organization
Bus and memory transfer
Instruction cycle.pptx
Computer architecture register transfer languages rtl
Addressing modes
Computer registers
Cpu organisation
Arithmetic Logic Unit (ALU)
The Basic Organization of Computers
pipelining
COMPUTER ORGANIZATION AND ARCHITECTURE
Interrupts and types of interrupts
Rtos concepts
Computer Organization and Architecture.
Addressing modes in computer organization
Processor Organization and Architecture
Computer architecture
Hardwired control
Asynchronous Data Transfer.pptx
Cpu scheduling
Computer architecture and organization
Ad

Viewers also liked (20)

PPT
Fetch execute cycle
PPT
Fetch Execute Cycle
PPT
Instruction cycle
PPT
SDD The Processor
PPT
PPT
PPT
N5 ISDD Testing
PPT
N5 ISDD Hardware Requirements
PPS
Computer instructions
PPT
It and computing assessment
PPT
A451 cpu fetch execute cycle (2-12 & 2-14)
PPTX
Process & Control Hardware plus fetch-execute cycle
PPT
Instruction cycle
PPTX
Pseudocode haggis
PPT
ISDD Database Structure N5
PPT
ISDD Standard File Formats
PPT
Purpose, features and functionality
PPT
N5 ISDD Software Requirements
Fetch execute cycle
Fetch Execute Cycle
Instruction cycle
SDD The Processor
N5 ISDD Testing
N5 ISDD Hardware Requirements
Computer instructions
It and computing assessment
A451 cpu fetch execute cycle (2-12 & 2-14)
Process & Control Hardware plus fetch-execute cycle
Instruction cycle
Pseudocode haggis
ISDD Database Structure N5
ISDD Standard File Formats
Purpose, features and functionality
N5 ISDD Software Requirements
Ad

Similar to Fetch-execute Cycle (20)

PPT
The Processor
PPTX
F453 computer science fde cycle
PPTX
oLecture09-Internal Organization of CPU.pptx
PPT
Memory & the fetch decode-execute cycle
PPT
Patt patelch04
PPT
Von neuman architecture
PPT
Unit-3 Von Neumann Architecture.ppt
PPT
Chapter 4-The Von Neumann Model-PattPatel.ppt
PPTX
INSTRUCTION TYPES
PPTX
lecture2.pptx
PPTX
ICT-Lecture_12(VonNeumannArchitecture).pptx
DOCX
4th sem,(cs is),computer org unit-7
PDF
310471266 chapter-7-notes-computer-organization
PDF
COMPUTER ORGANIZATION NOTES Unit 7
PPT
PattPatelCh04.ppt
DOC
09 the fetch-execute cycle ii
PPTX
Cpu & its execution of instruction
PPT
MICROPROCESSOR
PPT
Unit 1 basic structure of computers
PDF
Central processing unit i
The Processor
F453 computer science fde cycle
oLecture09-Internal Organization of CPU.pptx
Memory & the fetch decode-execute cycle
Patt patelch04
Von neuman architecture
Unit-3 Von Neumann Architecture.ppt
Chapter 4-The Von Neumann Model-PattPatel.ppt
INSTRUCTION TYPES
lecture2.pptx
ICT-Lecture_12(VonNeumannArchitecture).pptx
4th sem,(cs is),computer org unit-7
310471266 chapter-7-notes-computer-organization
COMPUTER ORGANIZATION NOTES Unit 7
PattPatelCh04.ppt
09 the fetch-execute cycle ii
Cpu & its execution of instruction
MICROPROCESSOR
Unit 1 basic structure of computers
Central processing unit i

More from Forrester High School (20)

PPTX
Program Design
PPTX
Database Evaluation
PPTX
PPTX
Database Query Design
PPTX
Data Dictionary
PPTX
Compound Keys
PPTX
Entity Occurrence Diagrams
PPTX
Entity Relationship Diagrams
PPTX
Database Analysis
PPTX
Software Evaluation
PPTX
Software Testing
PPTX
Standard Algorithms
PPTX
File Handling
PPTX
Python Predefined Functions
PPTX
Python Substrings
PPTX
Variable Scope
PPTX
Sub-programs
PPTX
Records in Python
PPTX
Parallel arrays in python
Program Design
Database Evaluation
Database Query Design
Data Dictionary
Compound Keys
Entity Occurrence Diagrams
Entity Relationship Diagrams
Database Analysis
Software Evaluation
Software Testing
Standard Algorithms
File Handling
Python Predefined Functions
Python Substrings
Variable Scope
Sub-programs
Records in Python
Parallel arrays in python

Recently uploaded (20)

PDF
MBA _Common_ 2nd year Syllabus _2021-22_.pdf
PDF
English Textual Question & Ans (12th Class).pdf
PDF
Skin Care and Cosmetic Ingredients Dictionary ( PDFDrive ).pdf
PPTX
Education and Perspectives of Education.pptx
DOCX
Cambridge-Practice-Tests-for-IELTS-12.docx
PDF
CRP102_SAGALASSOS_Final_Projects_2025.pdf
PDF
Empowerment Technology for Senior High School Guide
PDF
semiconductor packaging in vlsi design fab
PPTX
What’s under the hood: Parsing standardized learning content for AI
PDF
IP : I ; Unit I : Preformulation Studies
PDF
BP 505 T. PHARMACEUTICAL JURISPRUDENCE (UNIT 2).pdf
PPTX
Computer Architecture Input Output Memory.pptx
PDF
HVAC Specification 2024 according to central public works department
PPTX
A powerpoint presentation on the Revised K-10 Science Shaping Paper
PDF
AI-driven educational solutions for real-life interventions in the Philippine...
PPTX
Unit 4 Computer Architecture Multicore Processor.pptx
PDF
Hazard Identification & Risk Assessment .pdf
PDF
LEARNERS WITH ADDITIONAL NEEDS ProfEd Topic
PPTX
Share_Module_2_Power_conflict_and_negotiation.pptx
PDF
My India Quiz Book_20210205121199924.pdf
MBA _Common_ 2nd year Syllabus _2021-22_.pdf
English Textual Question & Ans (12th Class).pdf
Skin Care and Cosmetic Ingredients Dictionary ( PDFDrive ).pdf
Education and Perspectives of Education.pptx
Cambridge-Practice-Tests-for-IELTS-12.docx
CRP102_SAGALASSOS_Final_Projects_2025.pdf
Empowerment Technology for Senior High School Guide
semiconductor packaging in vlsi design fab
What’s under the hood: Parsing standardized learning content for AI
IP : I ; Unit I : Preformulation Studies
BP 505 T. PHARMACEUTICAL JURISPRUDENCE (UNIT 2).pdf
Computer Architecture Input Output Memory.pptx
HVAC Specification 2024 according to central public works department
A powerpoint presentation on the Revised K-10 Science Shaping Paper
AI-driven educational solutions for real-life interventions in the Philippine...
Unit 4 Computer Architecture Multicore Processor.pptx
Hazard Identification & Risk Assessment .pdf
LEARNERS WITH ADDITIONAL NEEDS ProfEd Topic
Share_Module_2_Power_conflict_and_negotiation.pptx
My India Quiz Book_20210205121199924.pdf

Fetch-execute Cycle