Which of the following is not a program control instruction?
Which of the following is not a program control instruction? Correct Answer MOV
Concept:
MOV, a mnemonic for the copying of data from one location to another in the x86 assembly language
Program control instruction help in changing the flow of a program. Program control types are an unconditional branch or unconditional jump and conditional branch.
Explanation:
Branch is a small change in the program counter. The conditional jump can implement algorithms beyond simple formulas. Various types of program control instructions are :
Compare:
This instruction is helpful in performing a comparison. It does not store results. CMP is used to compare
Subroutines:
It is a subprogram that performs a specific and well-defined task. Example: CALL and RET.
Halting instruction:
It takes the processor to an idle state when an interrupt occurs. Example: HLT
Interrupt instruction:
By this, the normal flow of execution can be suspended. Example: RESET, TRAP etc.
Therefore MOV is not a program control instruction