0% found this document useful (0 votes)
149 views19 pages

Timing Diagram of 8085 PDF

The document discusses timing diagrams and machine cycles of the 8085 microprocessor. It defines key terms like timing diagram, instruction cycle, machine cycle, and T-state. It then describes the 5 basic machine cycles of the 8085 - opcode fetch cycle, memory read cycle, memory write cycle, I/O read cycle, and I/O write cycle. Each machine cycle is explained in terms of the number of T-states it takes and its function of fetching opcodes, reading/writing memory, or reading/writing I/O ports.

Uploaded by

animesh sharma
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
149 views19 pages

Timing Diagram of 8085 PDF

The document discusses timing diagrams and machine cycles of the 8085 microprocessor. It defines key terms like timing diagram, instruction cycle, machine cycle, and T-state. It then describes the 5 basic machine cycles of the 8085 - opcode fetch cycle, memory read cycle, memory write cycle, I/O read cycle, and I/O write cycle. Each machine cycle is explained in terms of the number of T-states it takes and its function of fetching opcodes, reading/writing memory, or reading/writing I/O ports.

Uploaded by

animesh sharma
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 19

TIMING DIAGRAM

 Timing Diagram is a graphical representation.


 It represents the execution time taken by each
instruction in a graphical format.
 The execution time is represented in
T-states.
CONTROL SIGNALS
INSTRUCTION CYCLE
 The time required to execute an instructi
on is called instruction cycle.
MACHINE CYCLE
 The time required to access the memory
or input/output devices is called machine
cycle.
T-STATE

 The machine cycle and instruction cycle


takes multiple clock periods.
 A portion of an operation carried out in o
ne system clock period is called as T-sta
te.
MACHINE CYCLES OF 8085
The 8085 microprocessor has 5 basic machine c
ycles.
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)
MACHINE CYCLES OF 8085
 The processor takes a definite time to ex
ecute the machine cycles. The time take
n by the processor to execute a machine
cycle is expressed in T-states.
 One T-state is equal to the time period of
the internal clock signal of the processor.
 The T-state starts at the falling edge of a
clock.
OPCODE FETCH MACHINE CYCL
E OF 8085
OPCODE FETCH MACHINE CYCL
E OF 8085
 Each instruction of the processor has one byte opcode.
 The opcodes are stored in memory. So, the processor ex
ecutes the opcode fetch machine cycle to fetch the opcod
e from memory.
 Hence, every instruction starts with opcode fetch machine
cycle.
 The time taken by the processor to execute the opcode fe
tch cycle is 4T.
 In this time, the first, 3 T-states are used for fetching the o
pcode from memory and the remaining T-states are used
for internal operations by the processor.
MEMORY READ MACHINE CYCL
E OF 8085
MEMORY READ MACHINE CYCL
E OF 8085
 The memory read machine cycle is executed b
y the processor to read a data byte from memo
ry.
 The processor takes 3T states to execute this
cycle
 The instructions which have more than one byt
e word size will use the machine cycle after the
opcode fetch machine cycle.
MEMORY WRITE MACHINE CYCL
E OF 8085
MEMORY WRITE MACHINE CYCL
E OF 8085
 The memory write machine cycle is exec
uted by the processor to write a data byt
e in a memory location.
 The processor takes, 3T states to execut
e this machine cycle
I/O READ CYCLE OF 8085
 The I/O Read cycle is executed by the pr
ocessor to read a data byte from I/O port
or from the peripheral.
 The processor takes 3T states to execut
e this machine cycle.
 The IN instruction uses this machine cycl
e during the execution.
I/O READ CYCLE OF 8085
I/O WRITE CYCLE OF 8085

 The I/O write machine cycle is executed


by the processor to write a data byte in t
he I/O port or to a peripheral, which is I/
O, mapped in the system.
 The processor takes, 3T states to execut
e this machine cycle.
I/O WRITE CYCLE OF 8085
EXAMPLE INSTRUCTION :
MVI B, 43
INSTRUCTION : STA 526A

You might also like