Problem 1 (20 points). Arrange the following branch/jump instructions in descend
ID: 3754284 • Letter: P
Question
Problem 1 (20 points). Arrange the following branch/jump instructions in descending order of their maximum possible jump target. That is, the instruction that allows the farthest possible jump must go first, followed by the next farthest, and so on. If two instructions allow the same amount of ump, ist them in any order. Also state encoding format (R/I/J) and the number of bits used to reproscnt 1 ke largel addre or cach instruclor. Inally, list or each ulstrucLlon Lhe maximum distance that can be jumped, both forwards and backwards in memory. j. beq, jr, jal, bneExplanation / Answer
Descending order of maximum possible jump target:
beq, bne, jr, j, jal
j 000 010 26 bits (j type)
bne 000 101 5 bits (r type)
beq 000 100 5 bits (r type)
jr 000 000 5 bits (j type)
jal 000 011 26 bits (j type)
Finally the maximum distance that can be jumped the both forward and backward
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.