- save all S registers to stack! restore at the end of every function!
- make sure that this is correct with debugger
- set up breaking points before you jump to function
- take screenshot of registers before
- take screenshot of resigters after and compare them
- check for every function
- arguments are correct - if you are passing pointer check data on the pointer!
- after the function returns
- do we have same registers?
- is our stack pointer the same as before? EXTREMELY IMPORTANT!