Question: Consider the following MIPS assembly code. All addresses are in hexadecimal; all constants in the code are in decimal. 00060004 li $t0, 1000 #(i) 00060008

Consider the following MIPS assembly code. All addresses are in hexadecimal; all constants in the code are in decimal.

00060004 li $t0, 1000 #(i)

00060008 bne $t0, $zero, 00060010 #(ii)

0006000C li $t0, 0

00060010 subi $t0, $t0, 1 #(iii)

00060014 halt

When the code runs, what is the value of the PC just after (at the end of the executephase) each of the marked instructions?

i. PC =

ii. PC =

iii. PC =

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!