Question

2.17 [51<82.5> Provide the type, assembly language instruction, and binary representation of instruction described by the following MIPS fields: rt-8 , Just looking at the fields provided, whats the instruction op-0x23, rs-16, const-0x25F0 a. format? R-type_I-typeJ-type b. Whats the instruction? In which register is the base address stored? What value will be added to that base address (in decimal): In which register will the result be stored? c. d. e.

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

Answer :

Question a) I-Type instruction Explanation Because there is an immediate value and tworegisters are present. That type ofinstructions always be I-type If it is R-Type there will be 3 registers. If it isj-Tvpe there will be a jumping address Question b) Iw St0,0x25F0(Ss0) Explanation Op code -0x23-lw Register 16-Ss0, whichis source register rs here. Register 8-St0, which is destination register rt here Offset-0x25FO Format oflw instruction is lw rt, address Question c) Base address stored in Ss0 Explanation Lw instruction base addressis in source register Here, rs= 16-Ss0 Question d) The value added in base address is 9712 Explanation The value added with base address is called offset. Here, offset-const-0x25F0 Convert hex value 0x25F0into decimal, we will get 9712 Question e) Result storing register-St0 Explanation Result storing register is rt. >Here, 8-Sto Activate W Go to PC setti

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