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
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 ..
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
Math,
8 months ago
History,
8 months ago
English,
1 year ago
Math,
1 year ago
India Languages,
1 year ago