5.1.1. Features of the inline assembler

The inline assembler supports very flexible interworking with C and C++. Any register operand can be an arbitrary C or C++ expression. The inline assembler also expands complex instructions and optimizes the assembly language code.


Inline assembly language is subject to optimization by the compiler if you use one of the multi-optimization compiler options -O1, -O2, or -O3.

The inline assembler for ARM code implements most of the ARM instruction set including generic coprocessor instructions, halfword instructions and long multiply.

Copyright © 2002-2006 ARM Limited. All rights reserved.ARM DUI 0203G