SlideShare a Scribd company logo
Timing Diagram of Microprocessor 8085
Dr. Nilesh Bhaskarrao Bahadure
https://www.sites.google.com/site/nileshbbahadure/home
July 26, 2021
Dr. Nilesh Bhaskarrao Bahadure () Timing Diagram July 26, 2021 1 / 39
Overview I
1 Introduction to the Timing Diagram
Introduction to the Timing Diagram
Machine Cycles
Machine Cycles of Microprocessor 8085
Opcode Fetch Machine Cycle
Memory Read Machine Cycle
Memory Write Machine Cycle
IO Read Machine Cycle
IO Write Machine Cycle
2 Group-I One Machine Cycle with 4 T - States
3 Group-II One Machine Cycle with 6 T - States
4 Group-III Two Machine Cycle Instructions
Exceptions of the Group-III
5 Group-IV Three Machine Cycle Instructions
6 Group-V JMP Instruction
Conditional Jump Instruction
Dr. Nilesh Bhaskarrao Bahadure () Timing Diagram July 26, 2021 2 / 39
Overview II
7 Group-VI RET Instruction
Conditional RET Instruction
8 Group-VII CALL Instruction
Conditional CALL Instruction
9 Group-VIII LDA STA LHLD SHLD XTHL Instruction
10 Examples
Example-I MVI B, 43
Example-II INR M
Example-III IN C0
Example-IV STA
Dr. Nilesh Bhaskarrao Bahadure () Timing Diagram July 26, 2021 3 / 39
Introduction to the Timing Diagram
Timing Diagram is a graphical representation of the instruction execution
in steps with respect to the time (clock signal). It represents the execution
time taken by each instruction in a graphical format. The execution time
is represented in T-states. The different types of cycles used in the timing
diagram representation are as follows:
Instruction Cycle:
Instruction cycle is defined as the time required completing the execution
of an instruction. The 8085 ”P instruction cycle consists of one to five
m/c cycles or one to five operations.
Machine Cycle:
Machine cycle is defined as the time required completing the operation of
accessing memory or input / output. In 8085 ”P, m/c cycle may consists
of three to six timing state (T - state)
Main Slide
Dr. Nilesh Bhaskarrao Bahadure () Timing Diagram July 26, 2021 4 / 39
Introduction to the Timing Diagram...
T-State:
T State is defined as one subdivision of the operation performed in one
clock period. These subdivisions are internal states synchronized with the
system clock.
Main Slide
Dr. Nilesh Bhaskarrao Bahadure () Timing Diagram July 26, 2021 5 / 39
Machine Cycles
Machine Cycle Status Signals Control Signals
IO/M S1 S0 RD WR INTA
Opcode Fetch 0 1 1 0 1 1
Memory Read 0 1 0 0 1 1
Memory Write 0 0 1 1 0 1
IO Read 1 1 0 0 1 1
IO Write 1 0 1 1 0 1
INTR ACK 1 1 1 1 1 0
Bus Idle 0 0 0 1 1 1
Main Slide
Dr. Nilesh Bhaskarrao Bahadure () Timing Diagram July 26, 2021 6 / 39
Machine Cycles of Microprocessor 8085
Opcode fetch cycle (4T/6T)
Memory read cycle (3 T)
Memory write cycle (3 T)
I/O read cycle (3 T)
I/O write cycle (3 T)
Halt state machine cycle
Interrupt acknowledge machine cycle
Main Slide
Dr. Nilesh Bhaskarrao Bahadure () Timing Diagram July 26, 2021 7 / 39
Opcode Fetch Machine Cycle
Main Slide
Dr. Nilesh Bhaskarrao Bahadure () Timing Diagram July 26, 2021 8 / 39
Memory Read Machine Cycle
Main Slide
Dr. Nilesh Bhaskarrao Bahadure () Timing Diagram July 26, 2021 9 / 39
Memory Write Machine Cycle
Main Slide
Dr. Nilesh Bhaskarrao Bahadure () Timing Diagram July 26, 2021 10 / 39
IO Read Machine Cycle
Main Slide
Dr. Nilesh Bhaskarrao Bahadure () Timing Diagram July 26, 2021 11 / 39
IO Write Machine Cycle
Main Slide
Dr. Nilesh Bhaskarrao Bahadure () Timing Diagram July 26, 2021 12 / 39
One Machine Cycle Instructions 4 T - States
Instruction Instruction Instruction
MOV Rd, Rs XCHG ADD R
ADC R SUB R SBB R
RAL RLC RRC
RAR STC CMC
CMA INR R DCR R
ANA R ORA R XRA R
DAA EI DI
SIM RIM NOP
CMP R
Main Slide
Dr. Nilesh Bhaskarrao Bahadure () Timing Diagram July 26, 2021 13 / 39
One Machine Cycle Instructions 6 T - States
Instruction Instruction
INX Rp DCX Rp
SPHL PCHL
Main Slide
Dr. Nilesh Bhaskarrao Bahadure () Timing Diagram July 26, 2021 14 / 39
Two Machine Cycle Instructions
Instruction Machine
Cycle 1
Machine
Cycle 2
MVI Rd, DATA F R
MOV R,M F R
MOV M,R F W
ADI DATA F R
ACI DATA F R
SUI DATA F R
SBI DATA F R
ANI DATA F R
Main Slide
Dr. Nilesh Bhaskarrao Bahadure () Timing Diagram July 26, 2021 15 / 39
Two Machine Cycle Instructions...
Instruction Machine
Cycle 1
Machine
Cycle 2
ORI DATA F R
XRI DATA F R
CPI DATA F R
ADD M F R
ADC M F R
SUB M F R
SBB M F R
ANA M F R
Main Slide
Dr. Nilesh Bhaskarrao Bahadure () Timing Diagram July 26, 2021 16 / 39
Two Machine Cycle Instructions...
Instruction Machine
Cycle 1
Machine
Cycle 2
ORA M F R
XRA M F R
CMP M M F R
LDAX Rp F R
STAX Rp F W
Main Slide
Dr. Nilesh Bhaskarrao Bahadure () Timing Diagram July 26, 2021 17 / 39
Exceptions of the Group-III
Instruction Instructions
INR M DCR M
MVI M, DATA IN 8-BIT PORT ADDRESS
OUT 8-BIT PORT ADDRESS
Main Slide
Dr. Nilesh Bhaskarrao Bahadure () Timing Diagram July 26, 2021 18 / 39
Three Machine Cycle Instructions
Instruction m/c Cycle 1 m/c Cycle 2 m/c Cycle 3
LXI Rp, DATA F R R
INR M F R W
DCR M F R W
MVI M, DATA F R W
IN 8- bit Port Address F R I
OUT 8- bit Port Address F R O
PUSH Rp S W W
POP Rp F R R
RSTn S W W
DAD Rp F B B
Dr. Nilesh Bhaskarrao Bahadure () Timing Diagram July 26, 2021 19 / 39
Conditional & Unconditional Jump Instructions
Instruction m/c Cycle 1 m/c Cycle 2 m/c Cycle 3
JMP ADDR F R R
Main Slide
Dr. Nilesh Bhaskarrao Bahadure () Timing Diagram July 26, 2021 20 / 39
Conditional Jump Instructions
Conditional Branching
Instruction Condition not
Satisfied
Condition Satis-
fied
JC ADDR F R F R R
JNC ADDR F R F R R
JZ ADDR F R F R R
JNZ ADDR F R F R R
JP ADDR F R F R R
JM ADDR F R F R R
JPE ADDR F R F R R
JPO ADDR F R F R R
Main Slide
Dr. Nilesh Bhaskarrao Bahadure () Timing Diagram July 26, 2021 21 / 39
Conditional & Unconditional RET Instructions
Instruction m/c Cycle 1 m/c Cycle 2 m/c Cycle 3
RET F R R
Main Slide
Dr. Nilesh Bhaskarrao Bahadure () Timing Diagram July 26, 2021 22 / 39
Conditional RET Instructions
Conditional Branching
Instruction Condition not
Satisfied
Condition Satis-
fied
RC S S R R
RNC S S R R
RZ S S R R
RNZ S S R R
RP S S R R
RM S S R R
RPE S S R R
RPO S S R R
Main Slide
Dr. Nilesh Bhaskarrao Bahadure () Timing Diagram July 26, 2021 23 / 39
Conditional & Unconditional CALL Instructions
Instruction m/c Cycle
1
m/c Cycle
2
m/c Cycle
3
m/c Cycle
4
m/c C
5
CALL
ADDR
S R R W W
Main Slide
Dr. Nilesh Bhaskarrao Bahadure () Timing Diagram July 26, 2021 24 / 39
Conditional CALL Instructions
Conditional Branching
Instruction Condition not
Satisfied
Condition Satisfied
CC ADDR S R S R R W W
CNC ADDR S R S R R W W
CZ ADDR S R S R R W W
CNZ ADDR S R S R R W W
CP ADDR S R S R R W W
CM ADDR S R S R R W W
CPE ADDR S R S R R W W
CPO ADDR S R S R R W W
Main Slide
Dr. Nilesh Bhaskarrao Bahadure () Timing Diagram July 26, 2021 25 / 39
LDA STA LHLD SHLD XTHL Instruction
Instruction Machine Cycles
LDA ADDR F R R R
STA ADDR F R R W
LHLD ADDR F R R R R
SHLD ADDR F R R W W
XTHL F R R W W
Main Slide
Dr. Nilesh Bhaskarrao Bahadure () Timing Diagram July 26, 2021 26 / 39
Draw timing diagram for MVI B, 43
Example
Draw timing diagram for MVI B, 43H. Assume that instruction is located
at memory location 2000h and the opcode of MVI B, data is 06h
Main Slide
Dr. Nilesh Bhaskarrao Bahadure () Timing Diagram July 26, 2021 27 / 39
Draw timing diagram for MVI B, 43
Solution
Address Mnemonics Opcode/Data
2000h MVI B, 43h 06h
2001h 43h
Main Slide
Dr. Nilesh Bhaskarrao Bahadure () Timing Diagram July 26, 2021 28 / 39
Draw timing diagram for MVI B, 43
Main Slide
Dr. Nilesh Bhaskarrao Bahadure () Timing Diagram July 26, 2021 29 / 39
Draw timing diagram for INR M
Example
Draw timing diagram for the instruction INR M, which are located at
memory location address 4105. Assume that the opcode of INR M is 34h,
also assume that HL = 4250 and the contents of memory location 4250h
is 12h.
Main Slide
Dr. Nilesh Bhaskarrao Bahadure () Timing Diagram July 26, 2021 30 / 39
Draw timing diagram for INR M
Solution
Address Mnemonics Opcode/Data
4105h INR M 34h
Main Slide
Dr. Nilesh Bhaskarrao Bahadure () Timing Diagram July 26, 2021 31 / 39
Draw timing diagram for INR M
Main Slide
Dr. Nilesh Bhaskarrao Bahadure () Timing Diagram July 26, 2021 32 / 39
Draw timing diagram for IN C0
Example
Draw the timing diagram for the instruction IN C0h with the following
information
4125h DBh (Opcode of IN instruction)
4126h C0h
Assume that the contents of the port address C0h is 5Eh
Main Slide
Dr. Nilesh Bhaskarrao Bahadure () Timing Diagram July 26, 2021 33 / 39
Draw timing diagram for IN C0
Solution
Address Mnemonics Opcode/Data
4125h IN C0h DBh
4126h C0h
Main Slide
Dr. Nilesh Bhaskarrao Bahadure () Timing Diagram July 26, 2021 34 / 39
Draw timing diagram for IN C0
Main Slide
Dr. Nilesh Bhaskarrao Bahadure () Timing Diagram July 26, 2021 35 / 39
Draw timing diagram for STA 526Ah
Example
Draw the timing diagram for the STA 526A instruction, assume that the
opcode of STA is 32h and it is fetched from the memory location address
41FFh.
Main Slide
Dr. Nilesh Bhaskarrao Bahadure () Timing Diagram July 26, 2021 36 / 39
Draw timing diagram for STA 526Ah
Solution
Address Mnemonics Opcode/Data
41FFh STA 526Ah 32h
4200h 6Ah
4201h 52h
Main Slide
Dr. Nilesh Bhaskarrao Bahadure () Timing Diagram July 26, 2021 37 / 39
Draw timing diagram for STA 526Ah
Main Slide
Dr. Nilesh Bhaskarrao Bahadure () Timing Diagram July 26, 2021 38 / 39
Thank you
Please send your feedback at nbahadure@gmail.com
For more details and updates kindly visit
https://sites.google.com/site/nileshbbahadure/home
Main Slide
Dr. Nilesh Bhaskarrao Bahadure () Timing Diagram July 26, 2021 39 / 39

More Related Content

What's hot (20)

PPT
Interfacing 8255
Anuja Bhakuni
 
PPT
Programming with 8085
Shehrevar Davierwala
 
PPTX
I/O port programming in 8051
ssuser3a47cb
 
PDF
Module 4 registers and counters
Deepak John
 
PDF
Stepper motor-interfacing
Lecturer
 
PPTX
Synchronous Counter
Akhilesh Kushwaha
 
PPTX
Flip flop
Bhaskar Kumar Jha
 
PPTX
Instruction set of 8051 Microcontrollers
sushilkarvekar25
 
PDF
Microcontroller pic 16f877 addressing modes instructions and programming
Nilesh Bhaskarrao Bahadure
 
PPTX
Signal flow graph (sfg)
Dhruv Shah
 
PPTX
Interfacing Stepper motor with 8051
Pantech ProLabs India Pvt Ltd
 
PPTX
Phase Shift, Collpitt's and Crystal oscillators.pptx
ProfVilasShamraoPati
 
PDF
8085 branching instruction
prashant1271
 
PPTX
Flip Flop & RS Latch
university of education,Lahore
 
PDF
8051 assembly programming
sergeiseq
 
PPT
Sequential Logic Circuit
Ramasubbu .P
 
PPTX
Lect 7: Verilog Behavioral model for Absolute Beginners
Dr.YNM
 
PPTX
Instruction set of 8085 microprocessor
Rahul Sahu
 
PPTX
Chapter 6: Sequential Logic
Er. Nawaraj Bhandari
 
PPTX
8051 Assembly Language Programming
Ravikumar Tiwari
 
Interfacing 8255
Anuja Bhakuni
 
Programming with 8085
Shehrevar Davierwala
 
I/O port programming in 8051
ssuser3a47cb
 
Module 4 registers and counters
Deepak John
 
Stepper motor-interfacing
Lecturer
 
Synchronous Counter
Akhilesh Kushwaha
 
Flip flop
Bhaskar Kumar Jha
 
Instruction set of 8051 Microcontrollers
sushilkarvekar25
 
Microcontroller pic 16f877 addressing modes instructions and programming
Nilesh Bhaskarrao Bahadure
 
Signal flow graph (sfg)
Dhruv Shah
 
Interfacing Stepper motor with 8051
Pantech ProLabs India Pvt Ltd
 
Phase Shift, Collpitt's and Crystal oscillators.pptx
ProfVilasShamraoPati
 
8085 branching instruction
prashant1271
 
Flip Flop & RS Latch
university of education,Lahore
 
8051 assembly programming
sergeiseq
 
Sequential Logic Circuit
Ramasubbu .P
 
Lect 7: Verilog Behavioral model for Absolute Beginners
Dr.YNM
 
Instruction set of 8085 microprocessor
Rahul Sahu
 
Chapter 6: Sequential Logic
Er. Nawaraj Bhandari
 
8051 Assembly Language Programming
Ravikumar Tiwari
 

Similar to Timing diagram of microprocessor 8085 (20)

PDF
Microcontroller 8051 instruction set and assemble directives
Nilesh Bhaskarrao Bahadure
 
PDF
Instruction sets of microprocessor 8085
Nilesh Bhaskarrao Bahadure
 
PDF
Peripherals of Microprocessor 8085
Nilesh Bhaskarrao Bahadure
 
PPT
Unit-2-Stack_basic_Input_Output-4-12-2022-8am.ppt
IronMan665214
 
PDF
Vibration Analysis of a Centrifugal Pump
IRJET Journal
 
PDF
ARPU - Average Revenue Per User
EM Archieve
 
PDF
A Comparative Study of PID and Fuzzy Controller for Speed Control of Brushles...
IRJET Journal
 
DOC
Shri akash bhai sundarkand wale summer trainning report thermal
Er Akash Saini
 
PPTX
Implementation and assemplingof a small wind turbine
Rayan Hameed
 
PDF
Analysis of the Effect of Electric and Magnetic Loadings on the Design Parame...
IJERA Editor
 
PDF
HILUX ELECRICAL EWD307F.pdf
lucianomagnaterra
 
PDF
Assembler Numerical in system programming
Assembler Numerical in system programming
 
PDF
Performance Analysis of a DTC and SVM Based Field- Orientation Control Induct...
IJPEDS-IAES
 
DOCX
MAJOR PROJ (Repaired)
chadalavada bapiraju
 
PDF
iPhone 6 Schematic
Daniel Ferch
 
PDF
Toyota corolla-wiring-diagram-1998
Charith Ruckshan
 
PDF
An investigation on switching
csandit
 
PDF
TIME TABLE ODD 2023-24 w.e.f 9-9-23.pdf cse student
rohitisl2020
 
PDF
X10710 (me8694)
BIBIN CHIDAMBARANATHAN
 
PDF
YAMAHA OUTBOARD 40VMHD Service Repair Manual L: 560290 -
æ”· 雹
 
Microcontroller 8051 instruction set and assemble directives
Nilesh Bhaskarrao Bahadure
 
Instruction sets of microprocessor 8085
Nilesh Bhaskarrao Bahadure
 
Peripherals of Microprocessor 8085
Nilesh Bhaskarrao Bahadure
 
Unit-2-Stack_basic_Input_Output-4-12-2022-8am.ppt
IronMan665214
 
Vibration Analysis of a Centrifugal Pump
IRJET Journal
 
ARPU - Average Revenue Per User
EM Archieve
 
A Comparative Study of PID and Fuzzy Controller for Speed Control of Brushles...
IRJET Journal
 
Shri akash bhai sundarkand wale summer trainning report thermal
Er Akash Saini
 
Implementation and assemplingof a small wind turbine
Rayan Hameed
 
Analysis of the Effect of Electric and Magnetic Loadings on the Design Parame...
IJERA Editor
 
HILUX ELECRICAL EWD307F.pdf
lucianomagnaterra
 
Assembler Numerical in system programming
Assembler Numerical in system programming
 
Performance Analysis of a DTC and SVM Based Field- Orientation Control Induct...
IJPEDS-IAES
 
MAJOR PROJ (Repaired)
chadalavada bapiraju
 
iPhone 6 Schematic
Daniel Ferch
 
Toyota corolla-wiring-diagram-1998
Charith Ruckshan
 
An investigation on switching
csandit
 
TIME TABLE ODD 2023-24 w.e.f 9-9-23.pdf cse student
rohitisl2020
 
X10710 (me8694)
BIBIN CHIDAMBARANATHAN
 
YAMAHA OUTBOARD 40VMHD Service Repair Manual L: 560290 -
æ”· 雹
 
Ad

More from Nilesh Bhaskarrao Bahadure (20)

PDF
Biomedical Signal Origin and Dynamics
Nilesh Bhaskarrao Bahadure
 
PDF
Introduction to Medical Image Processing
Nilesh Bhaskarrao Bahadure
 
PDF
Timers and counters of microcontroller 8051
Nilesh Bhaskarrao Bahadure
 
PDF
Serial communication of microcontroller 8051
Nilesh Bhaskarrao Bahadure
 
PDF
Microprocessor 8085 Basics
Nilesh Bhaskarrao Bahadure
 
PDF
Microcontroller 8051 basics (part I)
Nilesh Bhaskarrao Bahadure
 
PDF
Memory interfacing of microprocessor 8085
Nilesh Bhaskarrao Bahadure
 
PDF
Memory interfacing of microcontroller 8051
Nilesh Bhaskarrao Bahadure
 
PDF
Interrupts of microprocessor 8085
Nilesh Bhaskarrao Bahadure
 
PDF
Interrupts of microcontroller 8051
Nilesh Bhaskarrao Bahadure
 
PDF
Embedded Systems
Nilesh Bhaskarrao Bahadure
 
PDF
Basic Electronics Semiconductor Diodes
Nilesh Bhaskarrao Bahadure
 
PDF
Basic Electronics Electrical Transducers
Nilesh Bhaskarrao Bahadure
 
PDF
Basic Electronics BJT
Nilesh Bhaskarrao Bahadure
 
PDF
Applications of Microcontroller 8051
Nilesh Bhaskarrao Bahadure
 
PDF
Question Bank Programmable Logic Controller
Nilesh Bhaskarrao Bahadure
 
PDF
Question Bank Microprocessor 8085
Nilesh Bhaskarrao Bahadure
 
PDF
Question Bank linear integrated circuits and applications
Nilesh Bhaskarrao Bahadure
 
PDF
Question Bank Digital Signal Processing
Nilesh Bhaskarrao Bahadure
 
PDF
Question Bank Basic Electronics
Nilesh Bhaskarrao Bahadure
 
Biomedical Signal Origin and Dynamics
Nilesh Bhaskarrao Bahadure
 
Introduction to Medical Image Processing
Nilesh Bhaskarrao Bahadure
 
Timers and counters of microcontroller 8051
Nilesh Bhaskarrao Bahadure
 
Serial communication of microcontroller 8051
Nilesh Bhaskarrao Bahadure
 
Microprocessor 8085 Basics
Nilesh Bhaskarrao Bahadure
 
Microcontroller 8051 basics (part I)
Nilesh Bhaskarrao Bahadure
 
Memory interfacing of microprocessor 8085
Nilesh Bhaskarrao Bahadure
 
Memory interfacing of microcontroller 8051
Nilesh Bhaskarrao Bahadure
 
Interrupts of microprocessor 8085
Nilesh Bhaskarrao Bahadure
 
Interrupts of microcontroller 8051
Nilesh Bhaskarrao Bahadure
 
Embedded Systems
Nilesh Bhaskarrao Bahadure
 
Basic Electronics Semiconductor Diodes
Nilesh Bhaskarrao Bahadure
 
Basic Electronics Electrical Transducers
Nilesh Bhaskarrao Bahadure
 
Basic Electronics BJT
Nilesh Bhaskarrao Bahadure
 
Applications of Microcontroller 8051
Nilesh Bhaskarrao Bahadure
 
Question Bank Programmable Logic Controller
Nilesh Bhaskarrao Bahadure
 
Question Bank Microprocessor 8085
Nilesh Bhaskarrao Bahadure
 
Question Bank linear integrated circuits and applications
Nilesh Bhaskarrao Bahadure
 
Question Bank Digital Signal Processing
Nilesh Bhaskarrao Bahadure
 
Question Bank Basic Electronics
Nilesh Bhaskarrao Bahadure
 
Ad

Recently uploaded (20)

PPTX
Server Side Web Development Unit 1 of Nodejs.pptx
sneha852132
 
PPTX
Pharmaceuticals and fine chemicals.pptxx
jaypa242004
 
PDF
6th International Conference on Machine Learning Techniques and Data Science ...
ijistjournal
 
PPTX
Benefits_^0_Challigi😙🏡💐8fenges[1].pptx
akghostmaker
 
PPTX
Day2 B2 Best.pptx
helenjenefa1
 
PPTX
Arduino Based Gas Leakage Detector Project
CircuitDigest
 
PDF
Unified_Cloud_Comm_Presentation anil singh ppt
anilsingh298751
 
DOCX
8th International Conference on Electrical Engineering (ELEN 2025)
elelijjournal653
 
PPTX
site survey architecture student B.arch.
sri02032006
 
PDF
Statistical Data Analysis Using SPSS Software
shrikrishna kesharwani
 
PDF
International Journal of Information Technology Convergence and services (IJI...
ijitcsjournal4
 
PDF
Book.pdf01_Intro.ppt algorithm for preperation stu used
archu26
 
PDF
Ethics and Trustworthy AI in Healthcare – Governing Sensitive Data, Profiling...
AlqualsaDIResearchGr
 
PPTX
The Role of Information Technology in Environmental Protectio....pptx
nallamillisriram
 
PDF
POWER PLANT ENGINEERING (R17A0326).pdf..
haneefachosa123
 
PPTX
MobileComputingMANET2023 MobileComputingMANET2023.pptx
masterfake98765
 
PDF
Water Design_Manual_2005. KENYA FOR WASTER SUPPLY AND SEWERAGE
DancanNgutuku
 
PPTX
UNIT DAA PPT cover all topics 2021 regulation
archu26
 
PPTX
Heart Bleed Bug - A case study (Course: Cryptography and Network Security)
Adri Jovin
 
PDF
GTU Civil Engineering All Semester Syllabus.pdf
Vimal Bhojani
 
Server Side Web Development Unit 1 of Nodejs.pptx
sneha852132
 
Pharmaceuticals and fine chemicals.pptxx
jaypa242004
 
6th International Conference on Machine Learning Techniques and Data Science ...
ijistjournal
 
Benefits_^0_Challigi😙🏡💐8fenges[1].pptx
akghostmaker
 
Day2 B2 Best.pptx
helenjenefa1
 
Arduino Based Gas Leakage Detector Project
CircuitDigest
 
Unified_Cloud_Comm_Presentation anil singh ppt
anilsingh298751
 
8th International Conference on Electrical Engineering (ELEN 2025)
elelijjournal653
 
site survey architecture student B.arch.
sri02032006
 
Statistical Data Analysis Using SPSS Software
shrikrishna kesharwani
 
International Journal of Information Technology Convergence and services (IJI...
ijitcsjournal4
 
Book.pdf01_Intro.ppt algorithm for preperation stu used
archu26
 
Ethics and Trustworthy AI in Healthcare – Governing Sensitive Data, Profiling...
AlqualsaDIResearchGr
 
The Role of Information Technology in Environmental Protectio....pptx
nallamillisriram
 
POWER PLANT ENGINEERING (R17A0326).pdf..
haneefachosa123
 
MobileComputingMANET2023 MobileComputingMANET2023.pptx
masterfake98765
 
Water Design_Manual_2005. KENYA FOR WASTER SUPPLY AND SEWERAGE
DancanNgutuku
 
UNIT DAA PPT cover all topics 2021 regulation
archu26
 
Heart Bleed Bug - A case study (Course: Cryptography and Network Security)
Adri Jovin
 
GTU Civil Engineering All Semester Syllabus.pdf
Vimal Bhojani
 

Timing diagram of microprocessor 8085

  • 1. Timing Diagram of Microprocessor 8085 Dr. Nilesh Bhaskarrao Bahadure https://www.sites.google.com/site/nileshbbahadure/home July 26, 2021 Dr. Nilesh Bhaskarrao Bahadure () Timing Diagram July 26, 2021 1 / 39
  • 2. Overview I 1 Introduction to the Timing Diagram Introduction to the Timing Diagram Machine Cycles Machine Cycles of Microprocessor 8085 Opcode Fetch Machine Cycle Memory Read Machine Cycle Memory Write Machine Cycle IO Read Machine Cycle IO Write Machine Cycle 2 Group-I One Machine Cycle with 4 T - States 3 Group-II One Machine Cycle with 6 T - States 4 Group-III Two Machine Cycle Instructions Exceptions of the Group-III 5 Group-IV Three Machine Cycle Instructions 6 Group-V JMP Instruction Conditional Jump Instruction Dr. Nilesh Bhaskarrao Bahadure () Timing Diagram July 26, 2021 2 / 39
  • 3. Overview II 7 Group-VI RET Instruction Conditional RET Instruction 8 Group-VII CALL Instruction Conditional CALL Instruction 9 Group-VIII LDA STA LHLD SHLD XTHL Instruction 10 Examples Example-I MVI B, 43 Example-II INR M Example-III IN C0 Example-IV STA Dr. Nilesh Bhaskarrao Bahadure () Timing Diagram July 26, 2021 3 / 39
  • 4. Introduction to the Timing Diagram Timing Diagram is a graphical representation of the instruction execution in steps with respect to the time (clock signal). It represents the execution time taken by each instruction in a graphical format. The execution time is represented in T-states. The different types of cycles used in the timing diagram representation are as follows: Instruction Cycle: Instruction cycle is defined as the time required completing the execution of an instruction. The 8085 ”P instruction cycle consists of one to five m/c cycles or one to five operations. Machine Cycle: Machine cycle is defined as the time required completing the operation of accessing memory or input / output. In 8085 ”P, m/c cycle may consists of three to six timing state (T - state) Main Slide Dr. Nilesh Bhaskarrao Bahadure () Timing Diagram July 26, 2021 4 / 39
  • 5. Introduction to the Timing Diagram... T-State: T State is defined as one subdivision of the operation performed in one clock period. These subdivisions are internal states synchronized with the system clock. Main Slide Dr. Nilesh Bhaskarrao Bahadure () Timing Diagram July 26, 2021 5 / 39
  • 6. Machine Cycles Machine Cycle Status Signals Control Signals IO/M S1 S0 RD WR INTA Opcode Fetch 0 1 1 0 1 1 Memory Read 0 1 0 0 1 1 Memory Write 0 0 1 1 0 1 IO Read 1 1 0 0 1 1 IO Write 1 0 1 1 0 1 INTR ACK 1 1 1 1 1 0 Bus Idle 0 0 0 1 1 1 Main Slide Dr. Nilesh Bhaskarrao Bahadure () Timing Diagram July 26, 2021 6 / 39
  • 7. Machine Cycles of Microprocessor 8085 Opcode fetch cycle (4T/6T) Memory read cycle (3 T) Memory write cycle (3 T) I/O read cycle (3 T) I/O write cycle (3 T) Halt state machine cycle Interrupt acknowledge machine cycle Main Slide Dr. Nilesh Bhaskarrao Bahadure () Timing Diagram July 26, 2021 7 / 39
  • 8. Opcode Fetch Machine Cycle Main Slide Dr. Nilesh Bhaskarrao Bahadure () Timing Diagram July 26, 2021 8 / 39
  • 9. Memory Read Machine Cycle Main Slide Dr. Nilesh Bhaskarrao Bahadure () Timing Diagram July 26, 2021 9 / 39
  • 10. Memory Write Machine Cycle Main Slide Dr. Nilesh Bhaskarrao Bahadure () Timing Diagram July 26, 2021 10 / 39
  • 11. IO Read Machine Cycle Main Slide Dr. Nilesh Bhaskarrao Bahadure () Timing Diagram July 26, 2021 11 / 39
  • 12. IO Write Machine Cycle Main Slide Dr. Nilesh Bhaskarrao Bahadure () Timing Diagram July 26, 2021 12 / 39
  • 13. One Machine Cycle Instructions 4 T - States Instruction Instruction Instruction MOV Rd, Rs XCHG ADD R ADC R SUB R SBB R RAL RLC RRC RAR STC CMC CMA INR R DCR R ANA R ORA R XRA R DAA EI DI SIM RIM NOP CMP R Main Slide Dr. Nilesh Bhaskarrao Bahadure () Timing Diagram July 26, 2021 13 / 39
  • 14. One Machine Cycle Instructions 6 T - States Instruction Instruction INX Rp DCX Rp SPHL PCHL Main Slide Dr. Nilesh Bhaskarrao Bahadure () Timing Diagram July 26, 2021 14 / 39
  • 15. Two Machine Cycle Instructions Instruction Machine Cycle 1 Machine Cycle 2 MVI Rd, DATA F R MOV R,M F R MOV M,R F W ADI DATA F R ACI DATA F R SUI DATA F R SBI DATA F R ANI DATA F R Main Slide Dr. Nilesh Bhaskarrao Bahadure () Timing Diagram July 26, 2021 15 / 39
  • 16. Two Machine Cycle Instructions... Instruction Machine Cycle 1 Machine Cycle 2 ORI DATA F R XRI DATA F R CPI DATA F R ADD M F R ADC M F R SUB M F R SBB M F R ANA M F R Main Slide Dr. Nilesh Bhaskarrao Bahadure () Timing Diagram July 26, 2021 16 / 39
  • 17. Two Machine Cycle Instructions... Instruction Machine Cycle 1 Machine Cycle 2 ORA M F R XRA M F R CMP M M F R LDAX Rp F R STAX Rp F W Main Slide Dr. Nilesh Bhaskarrao Bahadure () Timing Diagram July 26, 2021 17 / 39
  • 18. Exceptions of the Group-III Instruction Instructions INR M DCR M MVI M, DATA IN 8-BIT PORT ADDRESS OUT 8-BIT PORT ADDRESS Main Slide Dr. Nilesh Bhaskarrao Bahadure () Timing Diagram July 26, 2021 18 / 39
  • 19. Three Machine Cycle Instructions Instruction m/c Cycle 1 m/c Cycle 2 m/c Cycle 3 LXI Rp, DATA F R R INR M F R W DCR M F R W MVI M, DATA F R W IN 8- bit Port Address F R I OUT 8- bit Port Address F R O PUSH Rp S W W POP Rp F R R RSTn S W W DAD Rp F B B Dr. Nilesh Bhaskarrao Bahadure () Timing Diagram July 26, 2021 19 / 39
  • 20. Conditional & Unconditional Jump Instructions Instruction m/c Cycle 1 m/c Cycle 2 m/c Cycle 3 JMP ADDR F R R Main Slide Dr. Nilesh Bhaskarrao Bahadure () Timing Diagram July 26, 2021 20 / 39
  • 21. Conditional Jump Instructions Conditional Branching Instruction Condition not Satisfied Condition Satis- fied JC ADDR F R F R R JNC ADDR F R F R R JZ ADDR F R F R R JNZ ADDR F R F R R JP ADDR F R F R R JM ADDR F R F R R JPE ADDR F R F R R JPO ADDR F R F R R Main Slide Dr. Nilesh Bhaskarrao Bahadure () Timing Diagram July 26, 2021 21 / 39
  • 22. Conditional & Unconditional RET Instructions Instruction m/c Cycle 1 m/c Cycle 2 m/c Cycle 3 RET F R R Main Slide Dr. Nilesh Bhaskarrao Bahadure () Timing Diagram July 26, 2021 22 / 39
  • 23. Conditional RET Instructions Conditional Branching Instruction Condition not Satisfied Condition Satis- fied RC S S R R RNC S S R R RZ S S R R RNZ S S R R RP S S R R RM S S R R RPE S S R R RPO S S R R Main Slide Dr. Nilesh Bhaskarrao Bahadure () Timing Diagram July 26, 2021 23 / 39
  • 24. Conditional & Unconditional CALL Instructions Instruction m/c Cycle 1 m/c Cycle 2 m/c Cycle 3 m/c Cycle 4 m/c C 5 CALL ADDR S R R W W Main Slide Dr. Nilesh Bhaskarrao Bahadure () Timing Diagram July 26, 2021 24 / 39
  • 25. Conditional CALL Instructions Conditional Branching Instruction Condition not Satisfied Condition Satisfied CC ADDR S R S R R W W CNC ADDR S R S R R W W CZ ADDR S R S R R W W CNZ ADDR S R S R R W W CP ADDR S R S R R W W CM ADDR S R S R R W W CPE ADDR S R S R R W W CPO ADDR S R S R R W W Main Slide Dr. Nilesh Bhaskarrao Bahadure () Timing Diagram July 26, 2021 25 / 39
  • 26. LDA STA LHLD SHLD XTHL Instruction Instruction Machine Cycles LDA ADDR F R R R STA ADDR F R R W LHLD ADDR F R R R R SHLD ADDR F R R W W XTHL F R R W W Main Slide Dr. Nilesh Bhaskarrao Bahadure () Timing Diagram July 26, 2021 26 / 39
  • 27. Draw timing diagram for MVI B, 43 Example Draw timing diagram for MVI B, 43H. Assume that instruction is located at memory location 2000h and the opcode of MVI B, data is 06h Main Slide Dr. Nilesh Bhaskarrao Bahadure () Timing Diagram July 26, 2021 27 / 39
  • 28. Draw timing diagram for MVI B, 43 Solution Address Mnemonics Opcode/Data 2000h MVI B, 43h 06h 2001h 43h Main Slide Dr. Nilesh Bhaskarrao Bahadure () Timing Diagram July 26, 2021 28 / 39
  • 29. Draw timing diagram for MVI B, 43 Main Slide Dr. Nilesh Bhaskarrao Bahadure () Timing Diagram July 26, 2021 29 / 39
  • 30. Draw timing diagram for INR M Example Draw timing diagram for the instruction INR M, which are located at memory location address 4105. Assume that the opcode of INR M is 34h, also assume that HL = 4250 and the contents of memory location 4250h is 12h. Main Slide Dr. Nilesh Bhaskarrao Bahadure () Timing Diagram July 26, 2021 30 / 39
  • 31. Draw timing diagram for INR M Solution Address Mnemonics Opcode/Data 4105h INR M 34h Main Slide Dr. Nilesh Bhaskarrao Bahadure () Timing Diagram July 26, 2021 31 / 39
  • 32. Draw timing diagram for INR M Main Slide Dr. Nilesh Bhaskarrao Bahadure () Timing Diagram July 26, 2021 32 / 39
  • 33. Draw timing diagram for IN C0 Example Draw the timing diagram for the instruction IN C0h with the following information 4125h DBh (Opcode of IN instruction) 4126h C0h Assume that the contents of the port address C0h is 5Eh Main Slide Dr. Nilesh Bhaskarrao Bahadure () Timing Diagram July 26, 2021 33 / 39
  • 34. Draw timing diagram for IN C0 Solution Address Mnemonics Opcode/Data 4125h IN C0h DBh 4126h C0h Main Slide Dr. Nilesh Bhaskarrao Bahadure () Timing Diagram July 26, 2021 34 / 39
  • 35. Draw timing diagram for IN C0 Main Slide Dr. Nilesh Bhaskarrao Bahadure () Timing Diagram July 26, 2021 35 / 39
  • 36. Draw timing diagram for STA 526Ah Example Draw the timing diagram for the STA 526A instruction, assume that the opcode of STA is 32h and it is fetched from the memory location address 41FFh. Main Slide Dr. Nilesh Bhaskarrao Bahadure () Timing Diagram July 26, 2021 36 / 39
  • 37. Draw timing diagram for STA 526Ah Solution Address Mnemonics Opcode/Data 41FFh STA 526Ah 32h 4200h 6Ah 4201h 52h Main Slide Dr. Nilesh Bhaskarrao Bahadure () Timing Diagram July 26, 2021 37 / 39
  • 38. Draw timing diagram for STA 526Ah Main Slide Dr. Nilesh Bhaskarrao Bahadure () Timing Diagram July 26, 2021 38 / 39
  • 39. Thank you Please send your feedback at [email protected] For more details and updates kindly visit https://sites.google.com/site/nileshbbahadure/home Main Slide Dr. Nilesh Bhaskarrao Bahadure () Timing Diagram July 26, 2021 39 / 39