One way to move the branch resolution one stage earlier is to not need an alu operation in conditional branches. the branch instructions would be “bez rd,label ” and “bnez rd, label”, and it would branch if the register has and does not have a zero value, respectively. change this code to use these branch instructions instead of beq. you can assume that register r8 is available for you to use as a temporary register, and that an seq (set if equal) r-type instruction can be used.

Solved
Show answers

Ask an AI advisor a question