4.7.2.1 Naked Attribute
The naked
attribute allows the compiler to construct
the requisite function declaration, while allowing the body of the function to be
assembly code. The specified function will not have prologue or epilogue sequences
generated by the compiler. Only basic asm()
statements can safely be
included in naked functions. Do not use extended asm()
or a mixture of
basic asm()
and C code, as they are not supported.