Question: a) The format below encodes a jump instruction. The 'immediate' field represents the jump address (direct addressing mode). For example, to jump to address 4000,


a) The format below encodes a jump instruction. The 'immediate' field represents the jump address (direct addressing mode). For example, to jump to address 4000, the immediate is 4000. Can this instruction be used to return from subroutines? If yes explain. If no, explain and give an alternative addressing mode. b) What is the MIPS rule on using registers (t0 - t7) regarding saving/restoring registers? What can we call this strategy? c) What is the MIPS rule on using registers (s0-s7) regarding saving/restoring registers? What can we call this strategy? d) Are subroutines of a program always compiled at the same time
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
