Computer Science, asked by Nilesh143, 1 year ago

What is an instruction? What are its components? What is the role

of an instruction in a computer? Explain with the help of an

example. Where does the instruction reside at the time of

execution.

Answers

Answered by shafv33
0
An instruction specifies the operation performed by CPU. An instruction tells the processor what task is to be performed and what micro operations need to be completed to perform the task.

Every instruction is comprised of two parts: opcode and operands.
- The opcode specifies the operation to be performed
- Operands provide the data on which the operation is to be performed

Instructions are stored in CPU register during operation.


Hope that i answered you question ..


Similar questions