Question

Provide the type and assembly language for the following binary value: 0000 0010 0001 0001 0100...

Provide the type and assembly language for the following binary value: 0000 0010 0001 0001 0100 0000 0010 0000two (4 points)

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

Answer:

A)

Assuming MIPS assembly set

0000 00_10 000_1 0000 _1000 0_000 00_10 0000

Last 6 bits correspond to the opcode of the ADD instruction.

The Instruction bit fields of ADD are as follows:

Bits 25 to 21:Rs

Bits 20 to 16:Rt

Bits 15 to 11:Rd

Bits 10 to 6 : 0

where Rd <- Rs + Rt

Now decoding the given instruction we get:

Bits 25 to 21:Rs ->10000 binary -> s0

Bits 20 to 16:Rt ->10000 binary ->s0

Bits 15 to 11:Rd -> 10000 binary -> s0

SO the instruction is ADD $s0,$s0,$s0

Thankyou..........!

Add a comment
Know the answer?
Add Answer to:
Provide the type and assembly language for the following binary value: 0000 0010 0001 0001 0100...
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