Question

Provide the type, assembly language instruction, and binary representation of instruction described by the following MIPS...

Provide the type, assembly language instruction, and binary representation of instruction described by the following MIPS fields: op = 0, rs = 10, rt= 15, rd = 22, shamt = 0, function = 36

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

Answer: AND $s7, $t2, $t7

Explanation: Mips instruction for the given fields

Op: 0 (000000) op is 6 bit field,

Rs: 10(01010) rs is 5 bit field, which is $t2

Rt: 15(01111) rt is 5 bit field which is $t7

Rd: 22(10111) rd is 5 bit field which is $s7,

shamt:0(00000) 5 bit field which is the special operation like shift or rotate,

Function: 36(100100) 6 bit field which denotes the operation to be performed in this case it is AND operation.

So the mips instruction is AND $s7, $t2, $t7.

It's binary equivalent is 0000 0001 0100 1111 1011 1000 0010 0100.

It's hexadecimal equivalent is 0x014FB824.

Add a comment
Know the answer?
Add Answer to:
Provide the type, assembly language instruction, and binary representation of instruction described by the following MIPS...
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