4.4. Calling between C, C++, and ARM assembly language

This section provides examples that can help you to call C and assembly language code from C++, and to call C++ code from C and assembly language. It also describes calling conventions and data types.

You can mix calls between C and C++ and assembly language routines provided you comply with the Procedure Call Standard for the ARM Architecture (AAPCS). For more information, see the AAPCS specification, aapcs.pdf, in install_directory\Documentation\Specifications\...

Note

The information in this section is implementation dependent and might change in future releases.

Copyright © 2002-2010 ARM. All rights reserved.ARM DUI 0203J
Non-ConfidentialID101213