5.4.1. General rules for calling between languages

The following general rules apply to calling between C, C++, and assembly language. For more details, see RealView Compilation Tools v3.0 Compiler and Libraries Guide.

The embedded assembler and compliance with the Application Binary Interface (ABI) for the ARM Architecture (base standard) [BSABI] make mixed language programming easier to implement. These assist you with:

The following general rules apply to mixed language programming:

The following rules apply to calling C++ functions from C and assembly language:

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