_Optlink Calling Convention

This is the default calling convention. It is an alternative to the _System convention that is normally used for calls to the operating system. It provides a faster call than the _System convention, while conforming to the ANSI and SAA language standards.

You can explicitly give a function the _Optlink convention with the _Optlink keyword.

Features of _Optlink

Tips for Using _Optlink



Calling Conventions


General-Purpose Register Implications Using _Optlink
Examples of Passing Parameters Using _Optlink