Because every memory model needs special startup initialization, the library files also contain startup object files compiled with different Compiler option settings (see Compiler Options for details).
Depending on the memory model chosen, link the correct startup file with the application. The floating point format used does not matter for the startup code.
Note that the library files contain a generic startup written in C as an example of doing all the tasks needed for a startup:
Because not all of the above tasks may be needed for an application and for efficiency reasons, special startup is provided as well (e.g., written in HLI). However, you can also use the version written in C as well. For example, compile the startup.c file with the memory/options settings and link it to the application.
The topics covered here are as follows: