Assembly Code

Can I put inline assembly code into my C source files?

No, we don't support inline assembly code. You can use the compiler intrinsic _OPC which will emit a word into the instruction stream.

For example:

  #include <in430.h>

  _OPC(0x4302); // mov.w #0, sr