I want to call a assembly function from C, and the funtion has arguments. Anyone know which registers are used to pass them to the function? I am using ARM GNU complier. Thanks!!
For specific information about the GNU tools, start here: http://gcc.gnu.org/
The GCC Documentation is available online here: http://gcc.gnu.org/onlinedocs/
I think that the GCC ARM compiler abides by the ARM-specified procedure call standard - see http://www.arm.com
www.arm.com/.../aapcs.pdf
"Abstract This document describes the Procedure Call Standard use by the Application Binary Interface (ABI) for the ARM architecture...
Latest release of this specification Please check www.arm.com/.../ABI.html for later releases. Errors and omissions are corrected quarterly."