This specifies inline expansion of a function written in the assembly language.
The calling conventions for an inline function with embedded assembly are the same as for ordinary function calls. |
The compiler passes the character strings written in the functions specified with #pragma inline_asm to the assembler without change. |
The codes written in assembly language are processed by the preprocessor. Therefore, special care must be taken when the same names as the instructions or registers used in the assembly language are defined as the names of macros with #define. |
When a label is written in an assembly-language function, labels having the same name are generated for the number of times the function is expanded inline. In this case, use a local label written in the assembly language. A local label has a single name in the assembly-language code, but the assembler automatically converts it into separate names. |