Details of Function Call
- For each argument, use genarith to compute the argument.
Then move the result from the register returned by genarith to
%o0 ... Mark the genarith register unused.
- For each floating register that is in use, save it by
std %fi,[%sp+SPOFFSET] .
- Call the function, followed by nop.
- For each floating register that is in use, restore it by
ldd [%sp+SPOFFSET],%fi .
- Get a register of the appropriate type, and move the function
result ( %o0 or %f0) to that register.
Return that register as result.
Contents   
Page-10   
Prev   
Next   
Page+10   
Index