User Functions Called by DSP/BIOS
2.10 User Functions Called by DSP/BIOS
User functions called by DSP/BIOS objects (IDL, TSK, SWI, PIP, PRD, and
CLK objects) need to follow specific conventions in order to ensure that
registers are used properly and that values are preserved across function
calls.
On the C6x and C55x platforms, all user functions called by DSP/BIOS
objects need to conform to C compiler register conventions for their
respective platforms. This applies to functions written both in C and assembly
languages.
The compiler distinguishes between C and assembly functions by assuming
that all C function names are preceded by an underscore, and assembly
function names are not preceded by an underscore.
For more information on C register conventions, see the optimizing compiler
user's guide for your platform.
Program Generation
2-31