Shri vishnu engineering college for women:: bhimavaram department of information technology



Download 3.29 Mb.
View original pdf
Page72/128
Date12.04.2022
Size3.29 Mb.
#58595
1   ...   68   69   70   71   72   73   74   75   ...   128
ITIIBTechIISemLecCOA
0910-ComputerSystemOverview02
UNIT-II

DEPARTMENT OF INFORMATION TECHNOLOGY::SVECW Page 16
INSTRUCTION CYCLE
An instruction cycle includes the following stages

Fetch: Read the next instruction from memory into the processor.

Execute: Interpret the opcode and perform the indicated operation.

Interrupt: If interrupts are enabled and an interrupt has occurred, save the current process state and service the interrupt. We now elaborate instruction cycle. First, we must introduce one additional stage, known as the indirect cycle.
The Indirect Cycle The execution of an instruction may involve one or more operands in memory, each of which requires a memory access. Further, if indirect addressing is used, then additional memory accesses are required. We can think of the fetching of indirect addresses as one more instruction stages. The result is shown in Figure 2.9. Figure 2.9 Instruction Cycle After an instruction is fetched, it is examined to determine if any indirect addressing is involved. If so, the required operands are fetched using indirect addressing. Following execution, an interrupt maybe processed before the next instruction fetch. Figure 2.10 Instruction cycle State Diagram



Download 3.29 Mb.

Share with your friends:
1   ...   68   69   70   71   72   73   74   75   ...   128




The database is protected by copyright ©ininet.org 2024
send message

    Main page