Question: 3. Assume a sequence of assembly code as following: 15 Add $50, $t0,$t1 Sub $s1, $s2, $50 Mult $s3, $81, $s2 Div $84, Sto, $t1

3. Assume a sequence of assembly code as following: 15 Add $50, $t0,$t1 Sub $s1, $s2, $50 Mult $s3, $81, $s2 Div $84, Sto, $t1 Lw $s3, 32($t0) Beq $54, $s3, L1 Add $so, $t0,$t1 Sub $s1, $s2, $50 Mult $s3, $s1, $s2 Div $54, $to, $t1 L1: OR $81, $s2, $s Add $so, $t0,$t1 Sub $s1, $s2, $s If the address of first instruction (Add) is 2000, what is the address of Beq? If the Branch is taken ($s3=$54) what will be the 7th instruction to execute and what is its address
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
