I am new to Mips and I need your help. I came across an exercise :
Assuming that the program counter has the 2000 0000hex value in it, is it possible that the program counter will get the 00001000hex or the 20001400hex value using the beq or the jump instruction
First of all I can't really understand what is being represented by the 16bits value of the beq instruction and the 26bits value of the jump instruction. Is it an offset or is it an address?To be honest i think it is an address but I can't really understand how it works.
The answer to the exercise is that for the 00001000hex value both instructions can take you there but for the second one only the jump instruction will work. Why is that? Any help would be appreciated.