The following rules apply to the SYSTEM linkage convention:
- All parameters are passed on the 80386 stack.
- Parameters are pushed onto the stack in right-to-left order.
- The calling function is responsible for removing parameters
from the stack.
- All parameters are doubleword (4-byte) aligned.
- Values are returned in the same manner as the OPTLINK linkage.
- The direction flag must be clear upon entry to functions and
clear on exit from functions. The state of the other flags is ignored
on entry to a function, and undefined on exit.
- The compiler does not change the contents of the floating-point
control register. If you want to change the control register contents
for a particular operation, save the contents before making the
changes and restore them after the operation.
|
This information center is powered by Eclipse technology. (http://www.eclipse.org)