title: MIPS range of jump instruction
body: <p>I am reading the book '<a href="https://rads.stackoverflow.com/amzn/click/com/1558604286" rel="nofollow noreferrer" rel="nofollow noreferrer">Computer Organization and Design</a>' by Patterson and Hennessy and got interested in MIPS.</p>
  
  <p>I have doubts in finding the range of a jump/branch instruction. Also in determining the number of branch/jump instructions required to get to a specific address. </p>
  
  <p>Can someone provide an explanation of how this has to be calculated i.e. Considering PC at a specific address and finding the number of branch/jump instructions needed to go to a different address? For example, what if PC is at 0x10001010, what is the range of addresses of  branch and jump instructions?</p>
  
  <p>Or can you direct me to some online resource or book which would help me in getting a better understanding of these?</p>