> Translate Short C Code into MIPS Assembly Language?

Translate Short C Code into MIPS Assembly Language?

Posted at: 2014-12-18 
Translate function f into MIPS assembly language. If you need to use registers $t0 through $t7, use the lower-numbered registers first. Assume the function declaration

for func is “int f(int a, int b);”. The code for function f is as follows:

int f(int a, int b, int c, int d){

return func(func(a,b),c+d);

Any help would be greatly appreciated. I'm so confused. I would love a step by step explanation. Thanks again.