go to previous page   go to home page   go to next page

Answer:

Yes — it needs to use some S registers so should save the ones it uses in the prolog.


More Work for the Prolog

maxExp needs to compute three values: x*x, x*y, and 5*y, and needs to use S registers to hold them in.


QUESTION 17:

Could this subroutine avoid the need to save S registers by using T registers instead?


go to previous page   go to home page   go to next page