"jal Rout
is the instruction which is executed by the MIPS processor and is located in the address 0x00400100
. The label Rout
is points to a subroutine which is located in the address 0x00555500
. What will be the value of register #30 ($fp
, frame pointer) after the execution of the jal Rout
instruction?"
To my understanding, it won't be altered, since the $fp
is not used by jal
, it instead uses register #31 ($ra
, return address). Am I wrong? Is there something more to this question? Thank you.