SlideShare a Scribd company logo
4
Most read
5
Most read
7
Most read
INSTRUCTION CYCLE,
MACHINE CYCLE & T-STATES
by
Manish Tadhiyal
Contents
• T-states
• Machine cycle
• Instruction cycles
• Examples
• Frequency
T-States
One clock period is called a T-state.
One T-state
Clock
signals
Time period of clock
Machine Cycle
Machine cycle can be define as time required
by the microprocessor to complete an
operation of accessing memory or input /
output devices.
A machine cycle is comprise of some member
of T-states.
There are following 5 types of machine cycle
which the microprocessor can undergo:
1. OP code fetch cycle (4T-states)
2. Memory read cycle (3T-states)
3. Memory write cycle (3T-states)
4. Input / Output read cycle (3T-states)
5. Input / Output write cycle (3T-states)
Instruction cycle
An instruction cycle can be define as total time
required by the microprocessor to completely
fetch and execute an instruction.
An instruction cycle is comprised of one or more
number of machine cycles.
Examples:-
Lets take two different examples:-
• MOV A,B
here the move (MOV) command take the
one machine cycle which fetch only the
Op-code with 4T-states.
• MVI A,35H
here the move (MVI) command take the
one machine cycle and initializing A with
35H takes which fetch one machine cycle i.e.
Op-code+ memory read= 4T + 3T = 7T-states.
Frequency
Here frequency(clock frequency) is help us
to determine the time taken by the
microprocessor.
Usually 8085having the maximum
frequency of 5MHz.
By the using of the frequency we can able
to find out the time period of instruction
cycle.
Example
Lets take the above example of MVI A,35H
T=1/f
=1/(5*10^6)
T=0.2µs
Therefore
I.C= 7*0.2
= 1.4µs

More Related Content

What's hot (20)

PPTX
Interrupts
Urwa Shanza
 
PPTX
instruction cycle ppt
sheetal singh
 
PDF
Minimum and Maximum Modes of microprocessor 8086
anil_gaur
 
PPTX
Instruction pipeline: Computer Architecture
InteX Research Lab
 
PPT
multiplexers and demultiplexers
Unsa Shakir
 
PPTX
Logical and shift micro operations
Sanjeev Patel
 
PPTX
Microprogrammed Control Unit
PreethiSureshkumar1
 
PDF
8085 arithmetic instructions
prashant1271
 
PPS
Interrupts
guest2e9811e
 
PPTX
assembler Directives hnotesnnnnnnnn.pptx
Drkoteswararaoseelam
 
PPTX
ARM Processor
Aniket Thakur
 
PDF
Displacement addressing
Rajon
 
PPTX
Counters
Ketaki_Pattani
 
PPTX
memory organi.pptx
prakashpacet
 
PPTX
Instruction Execution Cycle
utsav_shah
 
PPTX
Instruction Set of 8086 Microprocessor
Ashita Agrawal
 
PPTX
Computer arithmetic
Balakrishna Chowdary
 
PDF
Clocked Sequential circuit analysis and design
Dr Naim R Kidwai
 
PPTX
Input Output Organization
Kamal Acharya
 
PPT
Instruction cycle
shweta-sharma99
 
Interrupts
Urwa Shanza
 
instruction cycle ppt
sheetal singh
 
Minimum and Maximum Modes of microprocessor 8086
anil_gaur
 
Instruction pipeline: Computer Architecture
InteX Research Lab
 
multiplexers and demultiplexers
Unsa Shakir
 
Logical and shift micro operations
Sanjeev Patel
 
Microprogrammed Control Unit
PreethiSureshkumar1
 
8085 arithmetic instructions
prashant1271
 
Interrupts
guest2e9811e
 
assembler Directives hnotesnnnnnnnn.pptx
Drkoteswararaoseelam
 
ARM Processor
Aniket Thakur
 
Displacement addressing
Rajon
 
Counters
Ketaki_Pattani
 
memory organi.pptx
prakashpacet
 
Instruction Execution Cycle
utsav_shah
 
Instruction Set of 8086 Microprocessor
Ashita Agrawal
 
Computer arithmetic
Balakrishna Chowdary
 
Clocked Sequential circuit analysis and design
Dr Naim R Kidwai
 
Input Output Organization
Kamal Acharya
 
Instruction cycle
shweta-sharma99
 

Similar to Instruction cycle & machine cycle (20)

PPTX
Timing Diagram.pptx
ISMT College
 
PPT
presentation on timing diagram
Alisha Korpal
 
PDF
Timing diag
Student
 
PPT
timing_diagram_of_8085.ppt
AmiShete2
 
PDF
Timing Diagram 8085.pdf
kkamaldeep115
 
PPT
Machine cycles
saravanamanikandan02
 
PPTX
Timing Diagram.pptx
officialshuaib
 
PDF
5415Microprocessor-Lecture-11.pdf
Asif Iqbal
 
PPT
Timing diagram.ppt
Ganesan Kndsmy
 
PPT
Lecture12 13 15936-timing-diagram
riyasekaran
 
PDF
Processer cam computer architecture ktu s4
aswathykrishna806
 
PDF
Timing Diagram of 8085 Instructions.pdf
VedantSarawagi
 
PPTX
Timing diagram of microprocessor 8505 ppt
dharshdivy
 
PDF
Timing diagram of microprocessor 8085
Nilesh Bhaskarrao Bahadure
 
PPTX
Timing Diagram of 8085.pptx
KIRUTHIKA
 
PPTX
Timing Diagram.pptx
ssuser823c58
 
PPTX
A word processor would most likely be used to do which of the following
tecmustafa
 
PDF
Unit 2 Timing Diagram.pdf
HimanshuPant41
 
PPTX
architecture of computer 8085 IO/M addressing mahine cycle and bus
tecmustafa
 
PPTX
timing diagram.pptx
Ansal Valappil
 
Timing Diagram.pptx
ISMT College
 
presentation on timing diagram
Alisha Korpal
 
Timing diag
Student
 
timing_diagram_of_8085.ppt
AmiShete2
 
Timing Diagram 8085.pdf
kkamaldeep115
 
Machine cycles
saravanamanikandan02
 
Timing Diagram.pptx
officialshuaib
 
5415Microprocessor-Lecture-11.pdf
Asif Iqbal
 
Timing diagram.ppt
Ganesan Kndsmy
 
Lecture12 13 15936-timing-diagram
riyasekaran
 
Processer cam computer architecture ktu s4
aswathykrishna806
 
Timing Diagram of 8085 Instructions.pdf
VedantSarawagi
 
Timing diagram of microprocessor 8505 ppt
dharshdivy
 
Timing diagram of microprocessor 8085
Nilesh Bhaskarrao Bahadure
 
Timing Diagram of 8085.pptx
KIRUTHIKA
 
Timing Diagram.pptx
ssuser823c58
 
A word processor would most likely be used to do which of the following
tecmustafa
 
Unit 2 Timing Diagram.pdf
HimanshuPant41
 
architecture of computer 8085 IO/M addressing mahine cycle and bus
tecmustafa
 
timing diagram.pptx
Ansal Valappil
 
Ad

Recently uploaded (20)

PDF
Zero Carbon Building Performance standard
BassemOsman1
 
PPTX
cybersecurityandthe importance of the that
JayachanduHNJc
 
PPTX
FUNDAMENTALS OF ELECTRIC VEHICLES UNIT-1
MikkiliSuresh
 
PDF
4 Tier Teamcenter Installation part1.pdf
VnyKumar1
 
PDF
Air -Powered Car PPT by ER. SHRESTH SUDHIR KOKNE.pdf
SHRESTHKOKNE
 
PDF
Introduction to Ship Engine Room Systems.pdf
Mahmoud Moghtaderi
 
PDF
Biodegradable Plastics: Innovations and Market Potential (www.kiu.ac.ug)
publication11
 
PDF
Construction of a Thermal Vacuum Chamber for Environment Test of Triple CubeS...
2208441
 
PPTX
ENSA_Module_7.pptx_wide_area_network_concepts
RanaMukherjee24
 
PPTX
22PCOAM21 Session 1 Data Management.pptx
Guru Nanak Technical Institutions
 
PDF
67243-Cooling and Heating & Calculation.pdf
DHAKA POLYTECHNIC
 
PPTX
sunil mishra pptmmmmmmmmmmmmmmmmmmmmmmmmm
singhamit111
 
PDF
EVS+PRESENTATIONS EVS+PRESENTATIONS like
saiyedaqib429
 
PPTX
Introduction to Fluid and Thermal Engineering
Avesahemad Husainy
 
PDF
勉強会資料_An Image is Worth More Than 16x16 Patches
NABLAS株式会社
 
PDF
CAD-CAM U-1 Combined Notes_57761226_2025_04_22_14_40.pdf
shailendrapratap2002
 
PDF
All chapters of Strength of materials.ppt
girmabiniyam1234
 
PDF
Natural_Language_processing_Unit_I_notes.pdf
sanguleumeshit
 
PDF
Zero carbon Building Design Guidelines V4
BassemOsman1
 
PPTX
Basics of Auto Computer Aided Drafting .pptx
Krunal Thanki
 
Zero Carbon Building Performance standard
BassemOsman1
 
cybersecurityandthe importance of the that
JayachanduHNJc
 
FUNDAMENTALS OF ELECTRIC VEHICLES UNIT-1
MikkiliSuresh
 
4 Tier Teamcenter Installation part1.pdf
VnyKumar1
 
Air -Powered Car PPT by ER. SHRESTH SUDHIR KOKNE.pdf
SHRESTHKOKNE
 
Introduction to Ship Engine Room Systems.pdf
Mahmoud Moghtaderi
 
Biodegradable Plastics: Innovations and Market Potential (www.kiu.ac.ug)
publication11
 
Construction of a Thermal Vacuum Chamber for Environment Test of Triple CubeS...
2208441
 
ENSA_Module_7.pptx_wide_area_network_concepts
RanaMukherjee24
 
22PCOAM21 Session 1 Data Management.pptx
Guru Nanak Technical Institutions
 
67243-Cooling and Heating & Calculation.pdf
DHAKA POLYTECHNIC
 
sunil mishra pptmmmmmmmmmmmmmmmmmmmmmmmmm
singhamit111
 
EVS+PRESENTATIONS EVS+PRESENTATIONS like
saiyedaqib429
 
Introduction to Fluid and Thermal Engineering
Avesahemad Husainy
 
勉強会資料_An Image is Worth More Than 16x16 Patches
NABLAS株式会社
 
CAD-CAM U-1 Combined Notes_57761226_2025_04_22_14_40.pdf
shailendrapratap2002
 
All chapters of Strength of materials.ppt
girmabiniyam1234
 
Natural_Language_processing_Unit_I_notes.pdf
sanguleumeshit
 
Zero carbon Building Design Guidelines V4
BassemOsman1
 
Basics of Auto Computer Aided Drafting .pptx
Krunal Thanki
 
Ad

Instruction cycle & machine cycle

  • 1. INSTRUCTION CYCLE, MACHINE CYCLE & T-STATES by Manish Tadhiyal
  • 2. Contents • T-states • Machine cycle • Instruction cycles • Examples • Frequency
  • 3. T-States One clock period is called a T-state. One T-state Clock signals Time period of clock
  • 4. Machine Cycle Machine cycle can be define as time required by the microprocessor to complete an operation of accessing memory or input / output devices. A machine cycle is comprise of some member of T-states.
  • 5. There are following 5 types of machine cycle which the microprocessor can undergo: 1. OP code fetch cycle (4T-states) 2. Memory read cycle (3T-states) 3. Memory write cycle (3T-states) 4. Input / Output read cycle (3T-states) 5. Input / Output write cycle (3T-states)
  • 6. Instruction cycle An instruction cycle can be define as total time required by the microprocessor to completely fetch and execute an instruction. An instruction cycle is comprised of one or more number of machine cycles.
  • 7. Examples:- Lets take two different examples:- • MOV A,B here the move (MOV) command take the one machine cycle which fetch only the Op-code with 4T-states. • MVI A,35H here the move (MVI) command take the one machine cycle and initializing A with 35H takes which fetch one machine cycle i.e. Op-code+ memory read= 4T + 3T = 7T-states.
  • 8. Frequency Here frequency(clock frequency) is help us to determine the time taken by the microprocessor. Usually 8085having the maximum frequency of 5MHz. By the using of the frequency we can able to find out the time period of instruction cycle.
  • 9. Example Lets take the above example of MVI A,35H T=1/f =1/(5*10^6) T=0.2µs Therefore I.C= 7*0.2 = 1.4µs