This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

C2000: create C-function without frame?



Hi all,

Is there a way to create a C-function without frame in the C2000 compiler?

In the GNU C-compiler, you can assign the attribute "_naked_" to a function which prevents the compiler from generating the frame (prologue/epilogue sequences). This must be done via inline-assembler.