Steps involved in an instruction cycle - Computer Architecture and Design
What are the steps involved in an instruction cycle.
Any program residing in the memory contains a set of instruction that need to be executed by the computer in a sequential manner. This cycle for every instruction is known as the instruction cycle . The cycle consists of the following steps:
- Fetch instruction: Like the name stated in this process the cpu fetches the instruction from the memory. The PC get loaded with the address of the instruction.
- Decode: the instruction: In this process the instruction gets decoded by the processor.
- In case the instruction has an indirect address the effective address is read from the memory.
- Fetch the operand from the memory
- Execution: once the instruction gets decoded the processor executes the instruction.
- Result: Store the result in the appropriate place.