When the branch instruction is at the ID stage, the nextinstruction to be executed is not known. That is called
A) A structural hazard
B)A control hazard
C) A data hazard
D)None of the above
Answer
Control Hazards: They arise from the pipelining of branches andother instructions that change the PC.
so, When the branch instruction is at the ID stage, the nextinstruction to be executed is not known, it’s called a controlhazard.
Answer: B)A control hazard