SlideShare a Scribd company logo
3
Most read
12
Most read
15
Most read
INSTRUCTION CYCLE
INSTRUCTION Instruction is command which is given by the user to computer.
Instruction cycle The time period during which one instruction is fetched from memory and execute when a computer given an instruction in machine language. Each instruction is further divided into sequence of phases. After the execution the program counter is incremented to point to the next instruction.
Phases Fetch an instruction from memory Decode the instruction Execute the instruction
Fetch cycle In this phase the sequence counter is initialized to 0. The address of first instruction from PC is loaded into address register during the first clock cycle.
Fetch cycle 0002 Mov AC, 0 Mov AC, 0 0000 0001 0002 0003 IR Decode unit Execute  unit PC AC
Decode cycle The instruction is decoded by the instruction decoder of a processor. All the bits of the instruction under execution stored in IR are analyzed and decode in third clock cycle.
Decode cycle 0002 Mov AC,0 Mov AC, 0 0000 0001 0002 0003 IR Decode unit Execute  unit PC AC
Execute cycle In the last phase, the processor execute the instruction. This involves setting the contents of the internal register AC to constant value 0.
Execute cycle 0003 AC 0 Mov AC,0 Mov AC, 0 0000 0001 0002 0003 IR Decode unit Execute  unit PC AC
SC  0 AR  PC IR  M[AR], PC  PC+1 Decode  IR(12-14)  IR(15), AR  IR(0-11) D I I Execute reg. reference Execute I/O reference Execute memory reference Execute memory reference Nothing AR  M[AR] =0  Memory reference I/O or reg. reference 1= =1 0= =1 0= I
Fetch operation The circuit comprises of various registers, memory unit I/O devices, control and timing unit ALU and a common bus. AR  PC IR  M[AR], PC  PC+1 The instruction read from memory is then placed in the instruction register.
Decode operation In decode operation processor decode the instruction which is fetched from memory. I  IR(15), Decode  IR(12-14)  AR  IR(0-11) 0-11 bits in the instruction format are store  in the address register. 12-14 bits are decoded. 15 bit is I means direct or indirect address.
Execution Operation After decoding the instruction, the timing signal that is active. There are three types of instruction:- 1) Memory Reference 2) Register Reference 3) I/O Reference If D=1 and IR(15)=0, that means the instruction is register reference. If d=1 and IR(15)=1, that means the instruction is I/O reference.
Execution Operation If D=0 and IR(15)=0, that means memory reference instruction is direct address instruction. If D=0 and IR(15)=1, that means memory reference instruction is indirect address instruction. AR  M[AR], AR holds the address part of the instruction After the instruction is executed, SC is cleared to 0 and control returns to the fetch phase.
THANKS

More Related Content

What's hot (20)

PPTX
Input output interface
Christ University
 
PDF
Instruction cycle
Kumar
 
PPTX
memory reference instruction
DeepikaT13
 
PPTX
Computer registers
DeepikaT13
 
DOCX
Control Units : Microprogrammed and Hardwired:control unit
abdosaidgkv
 
PPS
Cache memory
Anuj Modi
 
PPT
Cpu organisation
Er Sangita Vishwakarma
 
PPTX
COMPUTER INSTRUCTIONS & TIMING & CONTROL.
ATUL KUMAR YADAV
 
PPTX
Computer Organisation & Architecture (chapter 1)
Subhasis Dash
 
PPT
Computer Organization and Architecture.
CS_GDRCST
 
PPTX
Addressing sequencing
rajshreemuthiah
 
PPS
Computer instructions
Anuj Modi
 
PPTX
instruction cycle ppt
sheetal singh
 
PPTX
Computer architecture input output organization
Mazin Alwaaly
 
PPT
Instruction format
Sanjeev Patel
 
PPTX
Register organization, stack
Asif Iqbal
 
PPTX
Instruction cycle with interrupts
Shubham Jain
 
PPTX
Arithmetic micro operations
lavanya marichamy
 
PPTX
Memory Reference Instructions
Rabin BK
 
PPTX
Memory Organization
Kamal Acharya
 
Input output interface
Christ University
 
Instruction cycle
Kumar
 
memory reference instruction
DeepikaT13
 
Computer registers
DeepikaT13
 
Control Units : Microprogrammed and Hardwired:control unit
abdosaidgkv
 
Cache memory
Anuj Modi
 
Cpu organisation
Er Sangita Vishwakarma
 
COMPUTER INSTRUCTIONS & TIMING & CONTROL.
ATUL KUMAR YADAV
 
Computer Organisation & Architecture (chapter 1)
Subhasis Dash
 
Computer Organization and Architecture.
CS_GDRCST
 
Addressing sequencing
rajshreemuthiah
 
Computer instructions
Anuj Modi
 
instruction cycle ppt
sheetal singh
 
Computer architecture input output organization
Mazin Alwaaly
 
Instruction format
Sanjeev Patel
 
Register organization, stack
Asif Iqbal
 
Instruction cycle with interrupts
Shubham Jain
 
Arithmetic micro operations
lavanya marichamy
 
Memory Reference Instructions
Rabin BK
 
Memory Organization
Kamal Acharya
 

Similar to Instruction cycle (20)

PPTX
Assembly language
qalbe abbas
 
PPTX
INSTRUCTION CYCLE
Parth Panchal
 
PPT
Instruction cycle
Talesun Solar USA Ltd.
 
PPTX
Central Processing Unit (Instruction Circle)
muhd afiq
 
PPTX
Instruction cycle.pptx
suryansh85
 
PDF
Processer cam computer architecture ktu s4
aswathykrishna806
 
PPTX
COA SEMINAfrdreewqfeeerttfwsreeeeewwR.pptx
FamousBeats
 
PPT
Unit2 control unit
Ashim Saha
 
PDF
Central processing unit i
JyotiprakashMishra18
 
PPTX
Computer organisation and architecture updated unit 2 COA ppt.pptx
MalligaarjunanN
 
PDF
Instruction execution cycle _
SwatiHans10
 
PPTX
COA-UNIT-III-FINAL (1).pptx
SMLAKKAVARAMRA211103
 
PDF
CO Unit 3.pdf (Important chapter of coa)
guptakrishns23
 
PPTX
Chapter 8
Er. Nawaraj Bhandari
 
PPTX
Computer organizations and assembly language
KamranNazakat1
 
PPTX
Lecture004BasicsofthedProcessor (1).pptx
AnumAshraf18
 
PPT
Control unit
Syed Zaid Irshad
 
PPTX
coa cnfvfmvdfdvmdf vvndfvknfknbngfppt.pptx
jaijsr12345
 
PPTX
Micro operation control of processor
Muhammad Ishaq
 
PPT
Fetch Execute Cycle
py7rjs
 
Assembly language
qalbe abbas
 
INSTRUCTION CYCLE
Parth Panchal
 
Instruction cycle
Talesun Solar USA Ltd.
 
Central Processing Unit (Instruction Circle)
muhd afiq
 
Instruction cycle.pptx
suryansh85
 
Processer cam computer architecture ktu s4
aswathykrishna806
 
COA SEMINAfrdreewqfeeerttfwsreeeeewwR.pptx
FamousBeats
 
Unit2 control unit
Ashim Saha
 
Central processing unit i
JyotiprakashMishra18
 
Computer organisation and architecture updated unit 2 COA ppt.pptx
MalligaarjunanN
 
Instruction execution cycle _
SwatiHans10
 
COA-UNIT-III-FINAL (1).pptx
SMLAKKAVARAMRA211103
 
CO Unit 3.pdf (Important chapter of coa)
guptakrishns23
 
Computer organizations and assembly language
KamranNazakat1
 
Lecture004BasicsofthedProcessor (1).pptx
AnumAshraf18
 
Control unit
Syed Zaid Irshad
 
coa cnfvfmvdfdvmdf vvndfvknfknbngfppt.pptx
jaijsr12345
 
Micro operation control of processor
Muhammad Ishaq
 
Fetch Execute Cycle
py7rjs
 
Ad

More from shweta-sharma99 (13)

PPTX
Biometrics
shweta-sharma99
 
PPTX
Biometrics
shweta-sharma99
 
DOC
Testing
shweta-sharma99
 
DOCX
Sql commands
shweta-sharma99
 
DOCX
Rep on grid computing
shweta-sharma99
 
DOCX
Java practical
shweta-sharma99
 
DOCX
Graphics file
shweta-sharma99
 
DOCX
Vbreport
shweta-sharma99
 
DOC
Software re engineering
shweta-sharma99
 
PPTX
Simplex
shweta-sharma99
 
PPTX
Grid computing
shweta-sharma99
 
PPTX
Cyborg
shweta-sharma99
 
PPTX
Smartphone
shweta-sharma99
 
Biometrics
shweta-sharma99
 
Biometrics
shweta-sharma99
 
Sql commands
shweta-sharma99
 
Rep on grid computing
shweta-sharma99
 
Java practical
shweta-sharma99
 
Graphics file
shweta-sharma99
 
Vbreport
shweta-sharma99
 
Software re engineering
shweta-sharma99
 
Grid computing
shweta-sharma99
 
Smartphone
shweta-sharma99
 
Ad

Recently uploaded (20)

PDF
Sustainable and comertially viable mining process.pdf
Avijit Kumar Roy
 
PPTX
Lifting and Rigging Safety AQG-2025-2.pptx
farrukhkhan658034
 
PDF
Impact of IEEE Computer Society in Advancing Emerging Technologies including ...
Hironori Washizaki
 
PDF
NewMind AI Journal - Weekly Chronicles - July'25 Week II
NewMind AI
 
PPTX
Machine Learning Benefits Across Industries
SynapseIndia
 
PDF
Productivity Management Software | Workstatus
Lovely Baghel
 
PDF
HR agent at Mediq: Lessons learned on Agent Builder & Maestro by Tacstone Tec...
UiPathCommunity
 
PDF
Bitcoin+ Escalando sin concesiones - Parte 1
Fernando Paredes García
 
PDF
Apache CloudStack 201: Let's Design & Build an IaaS Cloud
ShapeBlue
 
PDF
OpenInfra ID 2025 - Are Containers Dying? Rethinking Isolation with MicroVMs.pdf
Muhammad Yuga Nugraha
 
PDF
UiPath vs Other Automation Tools Meeting Presentation.pdf
Tracy Dixon
 
PPTX
Building and Operating a Private Cloud with CloudStack and LINBIT CloudStack ...
ShapeBlue
 
PDF
Upgrading to z_OS V2R4 Part 01 of 02.pdf
Flavio787771
 
PPTX
Extensions Framework (XaaS) - Enabling Orchestrate Anything
ShapeBlue
 
PDF
Upskill to Agentic Automation 2025 - Kickoff Meeting
DianaGray10
 
PDF
Shuen Mei Parth Sharma Boost Productivity, Innovation and Efficiency wit...
AWS Chicago
 
PDF
2025-07-15 EMEA Volledig Inzicht Dutch Webinar
ThousandEyes
 
PDF
Why Orbit Edge Tech is a Top Next JS Development Company in 2025
mahendraalaska08
 
PDF
TrustArc Webinar - Data Privacy Trends 2025: Mid-Year Insights & Program Stra...
TrustArc
 
PDF
Novus Safe Lite- What is Novus Safe Lite.pdf
Novus Hi-Tech
 
Sustainable and comertially viable mining process.pdf
Avijit Kumar Roy
 
Lifting and Rigging Safety AQG-2025-2.pptx
farrukhkhan658034
 
Impact of IEEE Computer Society in Advancing Emerging Technologies including ...
Hironori Washizaki
 
NewMind AI Journal - Weekly Chronicles - July'25 Week II
NewMind AI
 
Machine Learning Benefits Across Industries
SynapseIndia
 
Productivity Management Software | Workstatus
Lovely Baghel
 
HR agent at Mediq: Lessons learned on Agent Builder & Maestro by Tacstone Tec...
UiPathCommunity
 
Bitcoin+ Escalando sin concesiones - Parte 1
Fernando Paredes García
 
Apache CloudStack 201: Let's Design & Build an IaaS Cloud
ShapeBlue
 
OpenInfra ID 2025 - Are Containers Dying? Rethinking Isolation with MicroVMs.pdf
Muhammad Yuga Nugraha
 
UiPath vs Other Automation Tools Meeting Presentation.pdf
Tracy Dixon
 
Building and Operating a Private Cloud with CloudStack and LINBIT CloudStack ...
ShapeBlue
 
Upgrading to z_OS V2R4 Part 01 of 02.pdf
Flavio787771
 
Extensions Framework (XaaS) - Enabling Orchestrate Anything
ShapeBlue
 
Upskill to Agentic Automation 2025 - Kickoff Meeting
DianaGray10
 
Shuen Mei Parth Sharma Boost Productivity, Innovation and Efficiency wit...
AWS Chicago
 
2025-07-15 EMEA Volledig Inzicht Dutch Webinar
ThousandEyes
 
Why Orbit Edge Tech is a Top Next JS Development Company in 2025
mahendraalaska08
 
TrustArc Webinar - Data Privacy Trends 2025: Mid-Year Insights & Program Stra...
TrustArc
 
Novus Safe Lite- What is Novus Safe Lite.pdf
Novus Hi-Tech
 

Instruction cycle

  • 2. INSTRUCTION Instruction is command which is given by the user to computer.
  • 3. Instruction cycle The time period during which one instruction is fetched from memory and execute when a computer given an instruction in machine language. Each instruction is further divided into sequence of phases. After the execution the program counter is incremented to point to the next instruction.
  • 4. Phases Fetch an instruction from memory Decode the instruction Execute the instruction
  • 5. Fetch cycle In this phase the sequence counter is initialized to 0. The address of first instruction from PC is loaded into address register during the first clock cycle.
  • 6. Fetch cycle 0002 Mov AC, 0 Mov AC, 0 0000 0001 0002 0003 IR Decode unit Execute unit PC AC
  • 7. Decode cycle The instruction is decoded by the instruction decoder of a processor. All the bits of the instruction under execution stored in IR are analyzed and decode in third clock cycle.
  • 8. Decode cycle 0002 Mov AC,0 Mov AC, 0 0000 0001 0002 0003 IR Decode unit Execute unit PC AC
  • 9. Execute cycle In the last phase, the processor execute the instruction. This involves setting the contents of the internal register AC to constant value 0.
  • 10. Execute cycle 0003 AC 0 Mov AC,0 Mov AC, 0 0000 0001 0002 0003 IR Decode unit Execute unit PC AC
  • 11. SC 0 AR PC IR M[AR], PC PC+1 Decode IR(12-14) IR(15), AR IR(0-11) D I I Execute reg. reference Execute I/O reference Execute memory reference Execute memory reference Nothing AR M[AR] =0 Memory reference I/O or reg. reference 1= =1 0= =1 0= I
  • 12. Fetch operation The circuit comprises of various registers, memory unit I/O devices, control and timing unit ALU and a common bus. AR PC IR M[AR], PC PC+1 The instruction read from memory is then placed in the instruction register.
  • 13. Decode operation In decode operation processor decode the instruction which is fetched from memory. I IR(15), Decode IR(12-14) AR IR(0-11) 0-11 bits in the instruction format are store in the address register. 12-14 bits are decoded. 15 bit is I means direct or indirect address.
  • 14. Execution Operation After decoding the instruction, the timing signal that is active. There are three types of instruction:- 1) Memory Reference 2) Register Reference 3) I/O Reference If D=1 and IR(15)=0, that means the instruction is register reference. If d=1 and IR(15)=1, that means the instruction is I/O reference.
  • 15. Execution Operation If D=0 and IR(15)=0, that means memory reference instruction is direct address instruction. If D=0 and IR(15)=1, that means memory reference instruction is indirect address instruction. AR M[AR], AR holds the address part of the instruction After the instruction is executed, SC is cleared to 0 and control returns to the fetch phase.