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

This section provides examples that may 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 follow the appropriate procedure call standard. For more information on the APCS and TPCS, see Chapter 6 Using the Procedure Call Standards.

Note

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

Copyright © 1997, 1998 ARM Limited. All rights reserved.ARM DUI 0040D
Non-Confidential