Question: 2. Assume you are executing the following instruction sequence: 6+5+4 = 15 Add $50, $to, $t1 Sub $51, $t0,$t2 Addi $s3, $s1, 12 BEQ $s1,
2. Assume you are executing the following instruction sequence: 6+5+4 = 15 Add $50, $to, $t1 Sub $51, $t0,$t2 Addi $s3, $s1, 12 BEQ $s1, $s3, L1 Mul $s2, $s1, $50 Addi $s4, $s2, 20 J END L1: Addi $s1, $s1, 20 Addi $s3, $zero, 2 Mul $s4, Ss1, $s3 END If the initial value of temporary registers are $to = 6, $t1 = 10 and $t2 = 4, what will be the final value of $s4 register? If the address of first instruction (Add $50, $to, $t1) is 100 (in decimal) what will be the address of last instruction (END)? For the given temporary register values ($t0 = 6, $t1 10, $t2 = 4), what is the address of gth instruction that will be executed
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
