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

Discussion

The correct sequence of steps for instruction execution is :

  • A.Decode, opcode fetch and execute
  • B.Execute, decode, opcode fetch
  • C.Opcode fetch, decode, execute
  • D.Decode, execute, opcode fetch

Answer: C

The correct sequence is opcode fetch, decode, execute.

The processor first fetches the opcode from the memory location held in the program counter and places it in the instruction register. It then decodes it to work out what operation is required and what operands are needed, and finally executes it, which may involve further memory reads or writes.

An instruction cannot be decoded or executed before it has been fetched, so every sequence that starts with decode or execute is impossible.

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

Post your comment

Please log in or register to post a comment.