AnsweredAssumed Answered

CW10 Kinetis inline assembly

Question asked by Noe Serres on Mar 11, 2011
Latest reply on Jun 16, 2011 by tkey



Trying to port a project from IAR to Codewarrior v10 for Kinetis, I have a comilation error when calling inline assembly.

Example: trying to compile     foo = __REV(bar);    /* OK with IAR compiler   */

The error is                                Undefined : "__REV"  /* Error with CW compiler */


What is the correct syntax for calling assembly instructions or functions?

Should I include a header like "intrinsics.h" and where to find it for Kinetis K60?

Is there a document where I could find the list of all existing inline instructions?


Any advice would be appreciated.