| |||
| Home > Using the Inline and Embedded Assemblers of the ARM Compiler > Embedded assembler support in the compiler | |||
The compiler enables you to include assembly code out-of-line in one or more C or C++ function definitions. Embedded assembler provides unrestricted, low-level access to the target processor, enables you to use the C and C++ preprocessor directives, and gives easy access to structure member offsets. The embedded assembler supports ARM and Thumb states.
Effect of compiler ARM and Thumb states on embedded assembler
Restrictions on embedded assembly language functions in C and C++ code
Differences between expressions in embedded assembler and C or C++
Access to C and C++ compile-time constant expressions from embedded assembler
__offsetof_base keyword for related base classes in embedded assembler
Compiler-supported keywords for calling class member functions in embedded assembler
Developing Software for ARM® Processors:
Assembler Reference: