MIPS assembly has a calling convention which specifies that the t
registers are caller saved, and the s
registers are callee saved.
This means that if you call somebody else's function, say mine, you can gaurantee that the s
registers will be the same in your function after my function exits. You cannot gaurantee this for the t
registers, which my function is free to overwrite.
When writing MIPS assembly you should always follow this convention.