D D D D R R: Elays and Elays and Elay Elay Outines Outines
D D D D R R: Elays and Elays and Elay Elay Outines Outines
SOFTWARE DELAYS
Software delays are produced in programs by one of the various software "Delay Routines".
Routines".
As the amount of delay required varies from application to application different types of delay
routines are present, as follows:
Eg: NOP;
1-byte instruction
Opcode fetch --- 4 T-states.
TD = 4T.
T = 1/(Clk freq)
! assuming 8085 working at 3 MHz, T = 1/(3 MHz) = 0.333 µ sec.
! T D = 4 " 0.333 = 1.332 µ sec.
TD = 1.332 sec.
This is the maximum delay that can be achieved by writing a NOP instruction.
TD max = 914954T.
assuming 8085 working at 3 MHz i.e. T = 333 n sec.
Summary:
Please Note: All these calculations are w.r.t. 8085 operating at 3 MHz.
In case in the exam, the frequency is different then calculate 1T = 1/(Clk. freq.), and then calculate the
appropriate delay. ! In case of doubts, contact Bharat Sir: - 98204 08217.