Question

Suppose the opcode of an MIPS instruction is 0 in decimal, the funct is 100000 in...

Suppose the opcode of an MIPS instruction is 0 in decimal, the funct is 100000 in binary, and the rest of the machine code is 93120 in hexadecimal (from high-order bit to low-order bit). What is the instruction? When showing the registers, use names (e.g. $t0, $s2) instead of indices (e.g $8, $17).

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Answer: add $t1, $s2, $t4

Explanation:
-------------
93120 in binary is 10010011000100100000
opcode is 0 (000000)
funct is 100000
so, instruction is 000000 10010 01100 01001 00000 100000

100000 indicates add
10010 is $s2
01100 is $t4
01001 is $t1
so, instruction is add $t1, $s2, $t4



Add a comment
Know the answer?
Add Answer to:
Suppose the opcode of an MIPS instruction is 0 in decimal, the funct is 100000 in...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT