Question: Why 1? Consider the following code with a branch instruction such as bne addi addi Sto, $ti, L7 $30, $30, 1 $a0, $a0, 4 L7:
Consider the following code with a branch instruction such as bne addi addi Sto, $ti, L7 $30, $30, 1 $a0, $a0, 4 L7: When the assembler generates machine code for the branch instruction, it must replace the symbol L7 by a number 1) What is the value of the immediate used in the above branch instruction? ii) Describe how this number is calculated
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
