In a pipeline, the instruction I1: ADD R1, R2, R3 is immediately followed by I2: SUB R4, R1, R5. Which type of data hazard can occur?
- AWAR (write after read)
- BRAW (read after write)
- CWAW (write after write)
- DStructural hazard
Correct answer: B
In a pipeline, the instruction I1: ADD R1, R2, R3 is immediately followed by I2: SUB R4, R1, R5. Which type of data hazard can occur?