SlideShare a Scribd company logo
8085
MICROPROCESSORS
BY
MS.K.R.CHAIRMA LAKSHMI
ASSISTANT PROFESSOR
DEAPARTMENT OF ELECTRONCS AND INSTRUMENTATION ENGINEERING
R.M.K ENGINEERING COLLEGE
CONTENT
➢Module 5: Timing Diagram
1.OPCODE FETCH CYCLE (4T)
2.MEMORY READ CYCLE (3 T)
3.MEMORY WRITE CYCLE (3 T)
4.I/O READ CYCLE (3 T)
5.I/O WRITE CYCLE (3 T)
➢ EXAMPLE TIMING DIAGRAMS FOR FEW INSTRUCTIONS
CHAIRMA LAKSHMI K R AP/EIE/RMKEC 2
MODULE 5 : TIMING DIAGRAM
OF 8085
MACHINE CYCLES AND THEIR TIMING OF
8085
Timing Diagram: It represents the execution time taken by each instruction in a
graphical format. The execution time is represented in T-states.
Instruction Cycle: The time required to execute an instruction is called instruction
cycle.
Machine Cycle: The time required to access the memory or input/output devices
is called machine cycle.
T-State: A portion of an operation carried out in one system clock period is called
as T-state.
CHAIRMA LAKSHMI K R AP/EIE/RMKEC 4
MACHINE CYCLES OF 8085:
• THE 8085 MICROPROCESSOR HAS 5 (SEVEN) BASIC MACHINE CYCLES. THEY
ARE
1.OPCODE FETCH CYCLE (4T)
2.MEMORY READ CYCLE (3 T)
3.MEMORY WRITE CYCLE (3 T)
4.I/O READ CYCLE (3 T)
5.I/O WRITE CYCLE (3 T)
• INTR ACKNOWLEDGE(3 T)
• BUS IDLE(3 T)
CHAIRMA LAKSHMI K R AP/EIE/RMKEC 5
CHAIRMA LAKSHMI K R AP/EIE/RMKEC 6
OPCODE FETCH MACHINE CYCLE
• The first step of executing any instruction is the Opcode fetch cycle.
• In this cycle, the microprocessor brings in the instruction’s Opcode from
memory.
• To differentiate this machine cycle from the very similar “memory
read” cycle, the control & status signals are set as follows:
• IO/M=0, s0 and s1 are both 1.
• This machine cycle has four T-states.
• The 8085 uses the first 3 T-states to fetch the opcode.
• T4 is used to decode and execute it.
• It is also possible for an instruction to have 6 T-states in an opcode fetch
machine cycle.
CHAIRMA LAKSHMI K R AP/EIE/RMKEC 7
OPCODE FETCHT1 State
During the T1 state, the contents of the program counter are placed on the 16 bit address bus.
The higher order 8 bits are transferred to address bus (A8-A15) and lower order 8 bits are transferred to multiplexed A/D (AD0-AD7) bus.
After the address bits are transferred, the ALE (address latch enable) signal goes high.
 As soon as ALE goes high, the memory latches the AD0-AD7 bus.
At the middle of the T state the ALE goes low and the complete 16-bit address is made available for the Opcode fetch machine cycle.
T2 State
 During the beginning of this state, the RD signal goes low to enable memory.
It is during this state, the selected memory location is placed on D0-D7 of the Address/Data multiplexed bus.
T3 State
In the previous state the Opcode is placed in D0-D7 of the A/D bus.
In this state of the cycle, the Opcode of the A/D bus is transferred to the instruction register of the microprocessor.
Now the RD’ goes high after this action and thus disables the memory from A/D bus.
T4 State
 In this state the Opcode which was fetched from the memory is decoded.
CHAIRMA LAKSHMI K R AP/EIE/RMKEC 8
CHAIRMA LAKSHMI K R AP/EIE/RMKEC 9
MEMORY READ MACHINE CYCLE
• The memory read machine cycle is exactly the same as the
opcode fetch except:
• It only has 3 T-states
• The s0 signal is set to 0 instead.
CHAIRMA LAKSHMI K R AP/EIE/RMKEC 10
MEMORY READ MACHINE CYCLE
T1 state:
The higher order address bus (A8-A15) and lower order address and data multiplexed (AD0-AD7) bus. ALE
goes high so that the memory latches the (AD0-AD7) so that complete 16-bit address are available. The mp
identifies the memory read machine cycle from the status signals IO/M’=0, S1=1, S0=0. This condition indicates
the memory read cycle.
T2 state:
Selected memory location is placed on the (D0-D7) of the A/D multiplexed bus. RD’ goes LOW
T3 State:
The data which was loaded on the previous state is transferred to the microprocessor. In the middle of the T3
state RD’ goes high and disables the memory read operation. The data which was obtained from the memory is
then decoded.
CHAIRMA LAKSHMI K R AP/EIE/RMKEC 11
MEMORY READ MACHINE CYCLE
CHAIRMA LAKSHMI K R AP/EIE/RMKEC 12
THE MEMORY READ MACHINE CYCLE
• To understand the memory read machine cycle, let’s study the execution of the following instruction:
• MVI A, 32
• In memory, this instruction looks like:
• The first byte 3EH represents the opcode for loading a byte into the accumulator (MVI A), the
second byte is the data to be loaded.
• The 8085 needs to read these two bytes from memory before it can execute the instruction. Therefore, it
will need at least two machine cycles.
• The first machine cycle is the opcode fetch discussed earlier.
• The second machine cycle is the Memory Read Cycle.
2000H
2001H
3E
32
CHAIRMA LAKSHMI K R AP/EIE/RMKEC 13
THE MEMORY WRITE OPERATION
• In a memory write operation:
• The 8085 places the address on the address bus
• Identifies the operation as a ‘memory write’ (IO/M=0, s1=0, s0=1).
• Places the contents of the accumulator on the data bus and asserts the
signal WR.
• During the last T-state, the contents of the data bus are saved into the
memory location.
CHAIRMA LAKSHMI K R AP/EIE/RMKEC 14
THE MEMORY WRITE OPERATION
T1 state:
The higher order address bus (A8-A15) and lower order address and data multiplexed
(AD0-AD7) bus. ALE goes high so that the memory latches the (AD0-AD7) so that complete
16-bit address are available.
 The mp identifies the memory read machine cycle from the status signals IO/M’=0,
S1=0, S0=1. This condition indicates the memory read cycle.
T2 state:
Selected memory location is placed on the (D0-D7) of the A/D multiplexed bus. WR’ goes
LOW
T3 State:
In the middle of the T3 state WR’ goes high and disables the memory write operation. The
data which was obtained from the memory is then decoded.
CHAIRMA LAKSHMI K R AP/EIE/RMKEC 15
THE MEMORY WRITE OPERATION
CHAIRMA LAKSHMI K R AP/EIE/RMKEC 16
I/O READ CYCLE OF 8085
• The I/O Read cycle is executed by the processor to read a data byte from
I/O port or from the peripheral, which is I/O, mapped in the system.
• The processor takes 3T states to execute this machine cycle.
• The IN instruction uses this machine cycle during the execution.
CHAIRMA LAKSHMI K R AP/EIE/RMKEC 17
I/O READ CYCLE OF 8085
CHAIRMA LAKSHMI K R AP/EIE/RMKEC 18
I/O WRITE MACHINE CYCLE OF 8085
• The I/O write machine cycle is executed by the processor to write a data
byte in the I/O port or to a peripheral, which is I/O, mapped in the system.
• The processor takes 3T states to execute this machine cycle.
CHAIRMA LAKSHMI K R AP/EIE/RMKEC 19
I/O WRITE MACHINE CYCLE OF 8085
CHAIRMA LAKSHMI K R AP/EIE/RMKEC 20
MVI B, data
CHAIRMA LAKSHMI K R AP/EIE/RMKEC 21
8085 TIMING DIAGRAM FOR OPCODE FETCH CYCLE FOR MOV C, A .
CHAIRMA LAKSHMI K R AP/EIE/RMKEC 22
INR M
CHAIRMA LAKSHMI K R AP/EIE/RMKEC 23
ADD M
CHAIRMA LAKSHMI K R AP/EIE/RMKEC 24
STA addr
CHAIRMA LAKSHMI K R AP/EIE/RMKEC 25
IN Byte
CHAIRMA LAKSHMI K R AP/EIE/RMKEC 26
CHAIRMA LAKSHMI K R AP/EIE/RMKEC 27
RELATION BETWEEN INSTRUCTION
AND MACHINE CYCLE
Clock Signal Representation:
The 8085 divides the clock frequency provided at X1 and
X2 inputs by 2, which is called operating frequency.
CHAIRMA LAKSHMI K R AP/EIE/RMKEC 28
TIMING DIAGRAM FOR MEMORY READ
MACHINE CYCLE
CHAIRMA LAKSHMI K R AP/EIE/RMKEC 29
TIMING DIAGRAM FOR MEMORY
WRITE MACHINE CYCLE
CHAIRMA LAKSHMI K R AP/EIE/RMKEC 30
I/O PORTS
There are two methods in which I/O devices can be connected to microprocessor.
• Memory mapped I/O
• I/O mapped I/O
Memory mapped I/O:
• In this method I/O device is treated like the memory. Here there is no IO/M signal.
• If the processor wants to read the data from a I/O device it will place the address of the I/O device on
the address bus.
• Then the I/O device will get selected. The memory which is having the same address will also get
selected. Hence we have to use separate address for memory and separate address for I/O device.
I/O mapped I/O:
• Here we have the IO/M signal. So we can select either the memory or I/O device for read and write
operation.CHAIRMA LAKSHMI K R AP/EIE/RMKEC 31
OTHER MODULES
• Module 1: Introduction of 8085
• Module 2: Architecture of & Pinout diagram 8085
• Module 3: Interrupts
• Module 4: Data transfer Concepts
• Module 5: Timing Diagram
• Module 6: Memory Organization
CHAIRMA LAKSHMI K R AP/EIE/RMKEC 32
THANK YOU
CHAIRMA LAKSHMI K R AP/EIE/RMKEC 33

More Related Content

PDF
EE8551 mpmc unit 1 module 6
PDF
EE8551 mpmc unit 1 module 3
PDF
EE8551 mpmc unit 1 8085 module 2
PDF
EE8551 mpmc unit 1 module 4
PDF
EE8551 mpmc unit 1 module 1
PPT
8085 instruction-set part 1
PPT
8259 A P R O G R A M M A B L E I N T E R R U P T C O N T R O L L E R2
DOCX
Basics of peripheral devices and Working
EE8551 mpmc unit 1 module 6
EE8551 mpmc unit 1 module 3
EE8551 mpmc unit 1 8085 module 2
EE8551 mpmc unit 1 module 4
EE8551 mpmc unit 1 module 1
8085 instruction-set part 1
8259 A P R O G R A M M A B L E I N T E R R U P T C O N T R O L L E R2
Basics of peripheral devices and Working

What's hot (20)

PDF
Microprocessors 8085 pin diagram
DOCX
Project
PPTX
MICROPROCESSOR AND INTERFACING
PDF
8255 programable io
PPTX
27. 8259 programmable interrupt controller
PDF
21262738 8259a-programmable-interrupt-controller-2
PPTX
8255:ppi & 8259:pic
PPTX
8085 microprocessor(1)
PPT
Pin diagram-of-8085
PDF
Microprocessor and microcontroller
PDF
Microprocessor & Interfacing (Part-1) By Er. Swapnil V. Kaware
PDF
PPT
8085 microprocessor Embedded system
PPT
8259 updated
PPT
PPTX
DOCX
PPT
PPI-MECHATRONICS
PDF
Microprocessors 8085 architecture
PPS
Microprocessor 8085 Chapter 4
Microprocessors 8085 pin diagram
Project
MICROPROCESSOR AND INTERFACING
8255 programable io
27. 8259 programmable interrupt controller
21262738 8259a-programmable-interrupt-controller-2
8255:ppi & 8259:pic
8085 microprocessor(1)
Pin diagram-of-8085
Microprocessor and microcontroller
Microprocessor & Interfacing (Part-1) By Er. Swapnil V. Kaware
8085 microprocessor Embedded system
8259 updated
PPI-MECHATRONICS
Microprocessors 8085 architecture
Microprocessor 8085 Chapter 4
Ad

Similar to EE8551 mpmc unit 1 module 5 (20)

PPTX
timing diagram.pptx
PPT
Timing diagram 8085 microprocessor
PPT
pin-diagram of 8085_new.ppt
PDF
Unit 2 Timing Diagram.pdf
PPTX
COA PRESENTATION 8085 machine cycle.pptx
PPTX
Timing Diagram of 8085.pptx
PDF
8086 modes
PPT
8085 (1)
PPT
8085 Architecture
PPTX
timing_diagram_of_8085.pptx
PDF
Minimum and Maximum Modes of microprocessor 8086
PPTX
MCgchjjgccfgxhdhfjxjxjxkxjdsj dudududysudidicic3.pptx
PPTX
Machine Cycle 1.pptx
PDF
Microprocessors and Microcontrollers 8086 Pin Connections
PPTX
Chapter 6 hardware structure of 8086
PPT
8085.ppt
PDF
Microprocessor questions converted
PPTX
Microprocessor
PDF
Microprocessor and Microcontroller.pdf
PDF
EEE- BEE603 - Microprocessor and Microcontroller- Mr K Dwarakesh_220819_18121...
timing diagram.pptx
Timing diagram 8085 microprocessor
pin-diagram of 8085_new.ppt
Unit 2 Timing Diagram.pdf
COA PRESENTATION 8085 machine cycle.pptx
Timing Diagram of 8085.pptx
8086 modes
8085 (1)
8085 Architecture
timing_diagram_of_8085.pptx
Minimum and Maximum Modes of microprocessor 8086
MCgchjjgccfgxhdhfjxjxjxkxjdsj dudududysudidicic3.pptx
Machine Cycle 1.pptx
Microprocessors and Microcontrollers 8086 Pin Connections
Chapter 6 hardware structure of 8086
8085.ppt
Microprocessor questions converted
Microprocessor
Microprocessor and Microcontroller.pdf
EEE- BEE603 - Microprocessor and Microcontroller- Mr K Dwarakesh_220819_18121...
Ad

Recently uploaded (20)

PDF
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
PPTX
Pharma ospi slides which help in ospi learning
PPTX
Institutional Correction lecture only . . .
PDF
Complications of Minimal Access Surgery at WLH
PPTX
Lesson notes of climatology university.
PDF
Basic Mud Logging Guide for educational purpose
PPTX
Renaissance Architecture: A Journey from Faith to Humanism
PDF
STATICS OF THE RIGID BODIES Hibbelers.pdf
PDF
FourierSeries-QuestionsWithAnswers(Part-A).pdf
PDF
Computing-Curriculum for Schools in Ghana
PDF
Sports Quiz easy sports quiz sports quiz
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PDF
Module 4: Burden of Disease Tutorial Slides S2 2025
PDF
Microbial disease of the cardiovascular and lymphatic systems
PPTX
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
PPTX
Pharmacology of Heart Failure /Pharmacotherapy of CHF
PPTX
master seminar digital applications in india
PPTX
Cell Structure & Organelles in detailed.
PPTX
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
PDF
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
Pharma ospi slides which help in ospi learning
Institutional Correction lecture only . . .
Complications of Minimal Access Surgery at WLH
Lesson notes of climatology university.
Basic Mud Logging Guide for educational purpose
Renaissance Architecture: A Journey from Faith to Humanism
STATICS OF THE RIGID BODIES Hibbelers.pdf
FourierSeries-QuestionsWithAnswers(Part-A).pdf
Computing-Curriculum for Schools in Ghana
Sports Quiz easy sports quiz sports quiz
Final Presentation General Medicine 03-08-2024.pptx
Module 4: Burden of Disease Tutorial Slides S2 2025
Microbial disease of the cardiovascular and lymphatic systems
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
Pharmacology of Heart Failure /Pharmacotherapy of CHF
master seminar digital applications in india
Cell Structure & Organelles in detailed.
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape

EE8551 mpmc unit 1 module 5

  • 1. 8085 MICROPROCESSORS BY MS.K.R.CHAIRMA LAKSHMI ASSISTANT PROFESSOR DEAPARTMENT OF ELECTRONCS AND INSTRUMENTATION ENGINEERING R.M.K ENGINEERING COLLEGE
  • 2. CONTENT ➢Module 5: Timing Diagram 1.OPCODE FETCH CYCLE (4T) 2.MEMORY READ CYCLE (3 T) 3.MEMORY WRITE CYCLE (3 T) 4.I/O READ CYCLE (3 T) 5.I/O WRITE CYCLE (3 T) ➢ EXAMPLE TIMING DIAGRAMS FOR FEW INSTRUCTIONS CHAIRMA LAKSHMI K R AP/EIE/RMKEC 2
  • 3. MODULE 5 : TIMING DIAGRAM OF 8085
  • 4. MACHINE CYCLES AND THEIR TIMING OF 8085 Timing Diagram: It represents the execution time taken by each instruction in a graphical format. The execution time is represented in T-states. Instruction Cycle: The time required to execute an instruction is called instruction cycle. Machine Cycle: The time required to access the memory or input/output devices is called machine cycle. T-State: A portion of an operation carried out in one system clock period is called as T-state. CHAIRMA LAKSHMI K R AP/EIE/RMKEC 4
  • 5. MACHINE CYCLES OF 8085: • THE 8085 MICROPROCESSOR HAS 5 (SEVEN) BASIC MACHINE CYCLES. THEY ARE 1.OPCODE FETCH CYCLE (4T) 2.MEMORY READ CYCLE (3 T) 3.MEMORY WRITE CYCLE (3 T) 4.I/O READ CYCLE (3 T) 5.I/O WRITE CYCLE (3 T) • INTR ACKNOWLEDGE(3 T) • BUS IDLE(3 T) CHAIRMA LAKSHMI K R AP/EIE/RMKEC 5
  • 6. CHAIRMA LAKSHMI K R AP/EIE/RMKEC 6
  • 7. OPCODE FETCH MACHINE CYCLE • The first step of executing any instruction is the Opcode fetch cycle. • In this cycle, the microprocessor brings in the instruction’s Opcode from memory. • To differentiate this machine cycle from the very similar “memory read” cycle, the control & status signals are set as follows: • IO/M=0, s0 and s1 are both 1. • This machine cycle has four T-states. • The 8085 uses the first 3 T-states to fetch the opcode. • T4 is used to decode and execute it. • It is also possible for an instruction to have 6 T-states in an opcode fetch machine cycle. CHAIRMA LAKSHMI K R AP/EIE/RMKEC 7
  • 8. OPCODE FETCHT1 State During the T1 state, the contents of the program counter are placed on the 16 bit address bus. The higher order 8 bits are transferred to address bus (A8-A15) and lower order 8 bits are transferred to multiplexed A/D (AD0-AD7) bus. After the address bits are transferred, the ALE (address latch enable) signal goes high.  As soon as ALE goes high, the memory latches the AD0-AD7 bus. At the middle of the T state the ALE goes low and the complete 16-bit address is made available for the Opcode fetch machine cycle. T2 State  During the beginning of this state, the RD signal goes low to enable memory. It is during this state, the selected memory location is placed on D0-D7 of the Address/Data multiplexed bus. T3 State In the previous state the Opcode is placed in D0-D7 of the A/D bus. In this state of the cycle, the Opcode of the A/D bus is transferred to the instruction register of the microprocessor. Now the RD’ goes high after this action and thus disables the memory from A/D bus. T4 State  In this state the Opcode which was fetched from the memory is decoded. CHAIRMA LAKSHMI K R AP/EIE/RMKEC 8
  • 9. CHAIRMA LAKSHMI K R AP/EIE/RMKEC 9
  • 10. MEMORY READ MACHINE CYCLE • The memory read machine cycle is exactly the same as the opcode fetch except: • It only has 3 T-states • The s0 signal is set to 0 instead. CHAIRMA LAKSHMI K R AP/EIE/RMKEC 10
  • 11. MEMORY READ MACHINE CYCLE T1 state: The higher order address bus (A8-A15) and lower order address and data multiplexed (AD0-AD7) bus. ALE goes high so that the memory latches the (AD0-AD7) so that complete 16-bit address are available. The mp identifies the memory read machine cycle from the status signals IO/M’=0, S1=1, S0=0. This condition indicates the memory read cycle. T2 state: Selected memory location is placed on the (D0-D7) of the A/D multiplexed bus. RD’ goes LOW T3 State: The data which was loaded on the previous state is transferred to the microprocessor. In the middle of the T3 state RD’ goes high and disables the memory read operation. The data which was obtained from the memory is then decoded. CHAIRMA LAKSHMI K R AP/EIE/RMKEC 11
  • 12. MEMORY READ MACHINE CYCLE CHAIRMA LAKSHMI K R AP/EIE/RMKEC 12
  • 13. THE MEMORY READ MACHINE CYCLE • To understand the memory read machine cycle, let’s study the execution of the following instruction: • MVI A, 32 • In memory, this instruction looks like: • The first byte 3EH represents the opcode for loading a byte into the accumulator (MVI A), the second byte is the data to be loaded. • The 8085 needs to read these two bytes from memory before it can execute the instruction. Therefore, it will need at least two machine cycles. • The first machine cycle is the opcode fetch discussed earlier. • The second machine cycle is the Memory Read Cycle. 2000H 2001H 3E 32 CHAIRMA LAKSHMI K R AP/EIE/RMKEC 13
  • 14. THE MEMORY WRITE OPERATION • In a memory write operation: • The 8085 places the address on the address bus • Identifies the operation as a ‘memory write’ (IO/M=0, s1=0, s0=1). • Places the contents of the accumulator on the data bus and asserts the signal WR. • During the last T-state, the contents of the data bus are saved into the memory location. CHAIRMA LAKSHMI K R AP/EIE/RMKEC 14
  • 15. THE MEMORY WRITE OPERATION T1 state: The higher order address bus (A8-A15) and lower order address and data multiplexed (AD0-AD7) bus. ALE goes high so that the memory latches the (AD0-AD7) so that complete 16-bit address are available.  The mp identifies the memory read machine cycle from the status signals IO/M’=0, S1=0, S0=1. This condition indicates the memory read cycle. T2 state: Selected memory location is placed on the (D0-D7) of the A/D multiplexed bus. WR’ goes LOW T3 State: In the middle of the T3 state WR’ goes high and disables the memory write operation. The data which was obtained from the memory is then decoded. CHAIRMA LAKSHMI K R AP/EIE/RMKEC 15
  • 16. THE MEMORY WRITE OPERATION CHAIRMA LAKSHMI K R AP/EIE/RMKEC 16
  • 17. I/O READ CYCLE OF 8085 • The I/O Read cycle is executed by the processor to read a data byte from I/O port or from the peripheral, which is I/O, mapped in the system. • The processor takes 3T states to execute this machine cycle. • The IN instruction uses this machine cycle during the execution. CHAIRMA LAKSHMI K R AP/EIE/RMKEC 17
  • 18. I/O READ CYCLE OF 8085 CHAIRMA LAKSHMI K R AP/EIE/RMKEC 18
  • 19. I/O WRITE MACHINE CYCLE OF 8085 • The I/O write machine cycle is executed by the processor to write a data byte in the I/O port or to a peripheral, which is I/O, mapped in the system. • The processor takes 3T states to execute this machine cycle. CHAIRMA LAKSHMI K R AP/EIE/RMKEC 19
  • 20. I/O WRITE MACHINE CYCLE OF 8085 CHAIRMA LAKSHMI K R AP/EIE/RMKEC 20
  • 21. MVI B, data CHAIRMA LAKSHMI K R AP/EIE/RMKEC 21
  • 22. 8085 TIMING DIAGRAM FOR OPCODE FETCH CYCLE FOR MOV C, A . CHAIRMA LAKSHMI K R AP/EIE/RMKEC 22
  • 23. INR M CHAIRMA LAKSHMI K R AP/EIE/RMKEC 23
  • 24. ADD M CHAIRMA LAKSHMI K R AP/EIE/RMKEC 24
  • 25. STA addr CHAIRMA LAKSHMI K R AP/EIE/RMKEC 25
  • 26. IN Byte CHAIRMA LAKSHMI K R AP/EIE/RMKEC 26
  • 27. CHAIRMA LAKSHMI K R AP/EIE/RMKEC 27
  • 28. RELATION BETWEEN INSTRUCTION AND MACHINE CYCLE Clock Signal Representation: The 8085 divides the clock frequency provided at X1 and X2 inputs by 2, which is called operating frequency. CHAIRMA LAKSHMI K R AP/EIE/RMKEC 28
  • 29. TIMING DIAGRAM FOR MEMORY READ MACHINE CYCLE CHAIRMA LAKSHMI K R AP/EIE/RMKEC 29
  • 30. TIMING DIAGRAM FOR MEMORY WRITE MACHINE CYCLE CHAIRMA LAKSHMI K R AP/EIE/RMKEC 30
  • 31. I/O PORTS There are two methods in which I/O devices can be connected to microprocessor. • Memory mapped I/O • I/O mapped I/O Memory mapped I/O: • In this method I/O device is treated like the memory. Here there is no IO/M signal. • If the processor wants to read the data from a I/O device it will place the address of the I/O device on the address bus. • Then the I/O device will get selected. The memory which is having the same address will also get selected. Hence we have to use separate address for memory and separate address for I/O device. I/O mapped I/O: • Here we have the IO/M signal. So we can select either the memory or I/O device for read and write operation.CHAIRMA LAKSHMI K R AP/EIE/RMKEC 31
  • 32. OTHER MODULES • Module 1: Introduction of 8085 • Module 2: Architecture of & Pinout diagram 8085 • Module 3: Interrupts • Module 4: Data transfer Concepts • Module 5: Timing Diagram • Module 6: Memory Organization CHAIRMA LAKSHMI K R AP/EIE/RMKEC 32
  • 33. THANK YOU CHAIRMA LAKSHMI K R AP/EIE/RMKEC 33