regparm, stkparm

Previous Specifying Attributes of Functions Next

Syntax: regparm [(regcount)] / stkparm

The regparm attribute causes the function to use regcount data registers and regcount address registers for parameters. stkparm means the exact opposite, i.e. all parameters are passed on the stack. The '-mregparm' switch specifies which one is the default, and the default for regcount.


See also: Specifying Registers for Function Parameters