Please show work because I really want to understand how to do it. Thank you.
Question 2: Find the MIPS instruction with the machine code 0xad30000c.
0xad30000c10 = 1010 1101 0011 0000 0000 0000 0000 11002 it is I Type Instruction because here opcode is not 000000
I type Instruction Format is sw rt, offset(base)
31 26 25 21 20 16 15 0
| opcode | base/rs | rt | offset |
From left side to right side
first 6 bits for opcode of the that instruction (1010 11)2 it represents the sw means store word
next 5 bits for base/rs is (01 001)2 it represents $t1
next 5 bits for rt is (1 0000)2 it represents $s0
next 16 bits for offset is (0000 0000 0000 1100)2
so finally SW $s0, 0X000C, $t1
Please show work because I really want to understand how to do it. Thank you. Question...