Download as pdf or txt
Download as pdf or txt
You are on page 1of 3

THEORY:

Opcodefetchmachinecycleof8085:
Eachinstructionoftheprocessorhasonebyteopcode.
Theopcodesarestoredinmemory.So,theprocessorexecutesthe
opcodefetchmachinecycletofetchtheopcodefrommemory.
Hence,everyinstructionstartswithopcodefetchmachinecycle.
Thetimetakenbytheprocessortoexecutetheopcodefetchcycleis
4T.
Inthistime,thefirst,3Tstatesareusedforfetchingtheopcode
frommemoryandtheremainingTstatesareusedforinternal
operationsbytheprocessor.

Fig - Timing Diagram for Op-code Fetch Machine Cycle

MemoryReadMachineCycleof8085:
Thememoryreadmachinecycleisexecutedbytheprocessortoread
adatabytefrommemory.
Theprocessortakes3Tstatestoexecutethiscycle.
Theinstructionswhichhavemorethanonebytewordsizewilluse
themachinecycleaftertheopcodefetchmachinecycle.

FigTimingDiagramforMemoryReadMachineCycle
TIMINGDIAGRAM:
I/OReadCycleof8085:
TheI/OReadcycleisexecutedbytheprocessortoreadadatabyte
fromI/Oportorfromtheperipheral,whichisI/O,mappedinthe
system.
Theprocessortakes3Tstatestoexecutethismachinecycle.

TheINinstructionusesthismachinecycleduringtheexecution.

Fig - Timing Diagram for Memory Write Machine Cycle

Fig - Timing Diagram for I/O Read Machine Cycle

You might also like