MIPS ALU: handling branch instructions
- Use 1-bit “isZero” to handle the eq check for branch condition.
subtract $9, $10, check if result is zero.
- Target address requires:
PC (Fetch stage)
Offset (Decode stage)
subtract $9, $10, check if result is zero.
PC (Fetch stage)
Offset (Decode stage)