Intrinsic Functions

Intrinsic functions are a mechanism you can use to get assembly language into your source code without using the asm keyword. Intrinsic functions are not part of the ISO/IEC C or C++ standards. They are an extension provided by the CodeWarrior compilers.

There is an intrinsic function for several common processor op-codes (instructions). Rather than using inline assembly syntax and specifying the op-code in an asm block, you call the intrinsic function that matches the op-code.

When the compiler encounters the intrinsic function call in your source code, it does not actually make a function call. The compiler substitutes the assembly instruction that matches your function call. As a result, no function call occurs in the final object code. The final code is the assembly language instructions that correspond to the intrinsic functions.

Related information
Assembly Syntax
Referring to Assembly, C, and C++ Variables
Assembler Directives