This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
If an assembly function is called in C, and two 32 bit parameters are passed, the first parameter is placed in 32-bit ACC (AH/AL) and the second is placed on the stack in reverse order (SPRU514D, Page 128, Line 1)
Could anyone please confirm if this calling convention is true when compiled for the TMS320F28234 (no FPU)?
Yes, what you say is true for all C28x C code. The compiler section you cite covers both floating point and fixed point devices. Item #1 on p.127 indicates how floating point parameters are handled in FPU architectures. For non-FPU (fixed-point) architectures, I believe floating pt. arguments are just treated like any other 32-bit argument.
Regards,
David