Question: Given the MIPS instruction formatting that we have learned, we want to look at how to encode sub $r3, $r3, $r2 a) Assuming a subtract

Given the MIPS instruction formatting that we have learned, we want to look at how to encode sub $r3, $r3, $r2

a) Assuming a subtract instruction is defined as opcode=0 and function field=0x22, what would this instruction look like if assembled into binary?

b) And what would it look like in hex?

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!