```
int add(int i, int j) {
if (i == 0)
return j;
else
return add(--i, ++j);
}
```

Need to convert this piece of code to something like this

add $s0, $s1, $s2 # $s0 = g + h

add $s1, $s3, $s4 # $s1 = i + j

sub $s0, $s0, $s1 # f = (g + h) - (i + j)

someone can help me with this?