Machine-translated by Google. Questions are authored in English.
Top

Discussion

What is the order decided by a processor or the CPU of a controller to execute an instruction ?

  • A.Decode, fetch, execute
  • B.Execute, fetch, decode
  • C.Fetch, execute, decode
  • D.Fetch, decode, execute

Answer: D

The order is fetch, decode, execute.

A processor first fetches the instruction from memory at the address held in the program counter, then decodes it to determine the operation and operands, and only then executes it. The cycle then repeats for the next instruction.

An instruction cannot be decoded before it has been fetched, nor executed before it has been decoded, so every other ordering among the options is impossible.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.