ANSI C Code Usage
Only two programming languages are available in MicroC:
●ANSI C, includes both C language code (with possible extensions to the ANSII standard) and Assembly language code.
It is best to use the old safe way to link with legacy code (i.e. call the OS/environment special services) and to utilize otherwise inaccessible functionality as inline assembly language calls.
One way to use legacy/library code that is available external to the model, might be done through a user-defined C function calling them. Another way would be to include the definition within the model, in either C or ASM languages.