C251 User's Guide

Function Parameters

C functions may pass parameters in registers and/or fixed memory locations. The REGPARMS and NOREGPARMS directives enable and disable parameter passing using registers.

Parameters are passed in fixed memory locations if parameter passing in registers is disabled, or if too many parameters are passed to fit in registers.

Typically, you use register parameters. The examples referred to only describe this way of parameter passing. Refer to Using the SRC Directive for an example.