А, вообще все написано в доке MSP430 IAR C/EC++ Compiler Reference Guide for Texas Instruments’ MSP430 Microcontroller Family Сразу с рекомендациями, не использовать его так -)))
INLINE ASSEMBLER It is possible to insert assembler code into a C module. The asm keyword assembles and inserts the supplied assembler statement in-line, for example: asm("MOV.W R4,R7"); Note: The asm keyword reduces the compiler’s ability to optimize the code. We recommend the use of modules written in assembler language instead of inline assembler, since the function call to an assembler routine causes less performance reduction.
|