4.3.5 __naked Keyword

This keyword declares a function for which the compiler does not generate code to set up or tear down the function’s frame.

Suggested Replacement

__attribute__((naked))

Caveats

None.

Examples

Consider migrating IAR code such as:

__naked void foo();
to MPLAB XC codes similar to:
__attribute__((naked)) void foo();

Further Information

None.