Question: We would like to have an instruction that does nothing. Many ISAs actually have an opcode devoted to doing nothing. It is usually called NOP,
We would like to have an instruction that does nothing. Many ISAs actually have an opcode devoted to doing nothing. It is usually called NOP, for NO OPERATION. The instruction is fetched, decoded and Executed. The execution phase is to do nothing. Which of the following three instructions could be used for NOP and have the program still work correctly.
(1)0001 001 001 1 00000
(2)0000 111 000000001
(3)0000 111 000000000
What does the ADD instruction do that the others do not do
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
