2. Calculate the offset for the branch and jump instruction in the following code.
Consider the program is loaded at the starting memory address 40408<sub>10</sub>.
[5 Marks]
add $t0, $t0, $t1
add $t3, $t4, $t4
beq $t1, $t2, LABEL1
add $t0, $t0, $t1
nor $t1, $t3, $t2
j LABEL2
LABEL1:
add $t3, $t4, $t5
LABEL2:
sll $t1, $t3, $t2
lw $t0, 40($t1)