Chapter 2: Q36E (page 172)
Question: Right before your function f from Exercise 2.34 returns, what do we know about contents of registers \(t5, \)s3, \(ra, and \)sp? Keep in mind that we know what the entire function f looks like, but for function func, we only know its declaration.
Short Answer
The register ‘$ra’ returns the address of the variable. There will be no change in the value of ‘$sp,’ ‘$s3’. The register ‘$t5’ contains some random values.