Contents   
Page-10   
Prev   
Next   
Page+10   
Index   
   Function Calls 
For external functions, it is necessary to:
-  Set up the arguments for the function call.
 -  Call the function.
 -  Retrieve the result and do any necessary final actions.
 
A function call involves the following:
-  Load arguments into registers:
 -  Execute a  call instruction[PLT is the Procedure Linkage
Table for dynamically linked procedures.]:
   call   sin@PLT
 -  Floating results are returned in  %xmm0.
Integer results are returned in  %eax or  %rax.