The Four Stages of Beq
Ifetch: Instruction Fetch
- Fetch the instruction from the Instruction Memory
Reg/Dec: Registers Fetch and Instruction Decode
Exec: ALU compares the two register operands
- Adder calculates the branch target address
Mem: If the registers we compared in the Exec stage are the same,
- Write the branch target address into the PC