MIPS Assembly Language Q1 Imagine that you have a branch ins
MIPS Assembly Language.
(Q1) Imagine that you have a branch instruction with an offset equal to 1610 (00000000000100002), and the PC contains the address 3001010
If the branch is taken, which will be the new address stored in the PC?
(a) 30074
(b) 30026
(c) 30030
(d) 30078
Solution
(Q 1)
An offset equal to 1610(00000000000100002).
The PC contains the address 3001010 .
If the branch is taken then the new address stored in the PC is 30026.
Option B is correct choice.

