Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Using MIPS, If PC is at 0x1FFFf000 what would be the range possible by using a single branch instruction? ANS: the branch address range is
Using MIPS,
If PC is at 0x1FFFf000 what would be the range possible by using a single branch instruction?
ANS:
the branch address range is 0x1FFDF004 ~ 0x2001F000,
PC + 4 + 0x1FFFC = 0x2001 F000 PC + 4 - 0x20000 = 0x1FFD F004
As I understand, the maximum we can add is 0x1FFFC since it's the biggest number we obtain after shifting by two the biggest 16 bit number ( ( 2^15 - 1 )*4 )
but why is 0x20000 the biggest number we can substract? How did we obtain this number
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started