For an assembly coded function intended for C, is it necessary to include parameter registers in the $REGUSE statement? If you don't include these in the ASM function's $REGUSE statement, will the compiler assume that parameter registers are intact upon return and, thus, may reuse them? Ex:
int int_parm; MyASMFunction1( int_parm ) // Passed in R6R7 MyASMFunction2( int_parm ) // Also passed in R6R7
http://www.keil.com/support/man/docs/a51/a51_reguse.asp