C++: Elementary Programming

ARM defines an interface to functions called the ARM Procedure Call Standard (APCS). This defines that the first four arguments to a function are passed in registers r0 to r3 (any further parameters being passed on the stack) and a single word result is returned in r0. Using this standard it is possible to mix calls between C and assembler ... ................
................