Mention briefly the steps involved in the execution of a program. - CPU

Mention briefly the steps involved in the execution of a program.



The following steps are involved in the execution of a program:

- Fetch: The control unit is given an instruction.

- Decode: The control unit then decodes the newly received instruction.

- Execute: During the execution the Control unit first commands the correct part of hardware to take action. Once that is found out the control is handed over to the hardware. Now the task is performed.

- Store: Once the task is saved successfully the end result is stored.

- After the cycle is complete the Control unit is again handled the conrol.
Post your comment

    Discussion

  • RE: Mention briefly the steps involved in the execution of a program. - CPU -nikky martins (09/27/16)
  • well this answer is alright but not really comprehensive