Timing Diagram
Timing Diagram
Timing Diagram
Timing Diagrams
• Timing diagram is the display of initiation of read/write and transfer of data operations under the control of 3-
status signals IO/M’, S1 and S0.
• The data and instructions, both are stored in the memory, the μP performs fetch operation to read the
instruction or data and then execute the instruction.
• The 3-status signals: IO / M’, S1 and S0 are generated at the beginning of each machine cycle. The unique
combination of these 3-status signals identifies read or write operation and remain valid for the duration of the
cycle. Thus, time taken by any μP to execute one instruction is calculated in terms of the clock period.
• The execution of instruction always requires read and writes operations to transfer data to or from the μP and
memory or I/O devices.
• Each read/ write operation constitutes one machine cycle. Each machine cycle consists of many clock periods/
cycles, called T-states.
• During normal operation, the microprocessor sequentially fetches, decodes and executes one instruction after
another until a halt instruction (HLT) is executed.
• The fetching, decoding and execution of a single instruction constitutes an instruction cycle, which consists read or
write operations between processor and memory or input/output devices.
• Each memory or I/O operation requires a particular time period, called machine cycle. In other words, to move byte
of data in or out of the microprocessor, a machine cycle is required.
For the same instruction MOV A, B, the machine cycle might involve fetching the instruction from memory. This
would typically include an Opcode Fetch Machine Cycle, which is one machine cycle.