Question

30. What does the instruction BEQ $5, SO, -6 do? It loads register 5 with the value -6. h It subtracts 6 from register 0 an

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

Answer 30:

BEQ (i.e Branch if equal) instruction branches if the contents of first register and the second
register are equal.

The syntax of BEQ instruction is :

BEQ {first source register's address}, {second source register's address}, branch address

For example: BEQ $5, $0, -6

The BEQ will branch to address -6 (0xFFFFFFFA in hexadecimal) if contents of $5 and $0 are equal.

Hence the answer is:

c. BEQ will branch to address 0xFFFFFFFA

Answer 31:

The MIPS register file has two read ports and one write port.

Hence answer is:

b. Two read ports and one write port

Add a comment
Know the answer?
Add Answer to:
30. What does the instruction "BEQ $5, SO, -6" do? It loads register 5 with 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