Question: 1. Consider the following I type instruction: op rs rt constant or address Where the opcode = addi, rs = $s2 and rt=$s1. The

 1. Consider the following I type instruction: op rs rt constant or  

1. Consider the following I type instruction: op rs rt constant or address Where the opcode = addi, rs = $s2 and rt=$s1. The value of register $s2 is 01001010, and the constant value is = 11101110. Both are stored in 8 bit 2's complement format. The resulting MIPS code is addi $s1, s$2, 1001100 What is the decimal value of $s1?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

To find the decimal value of register s1 we first need to convert the 8bit ... View full answer

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 Programming Questions!