In srpru514j section 7 it outlines how to call asm functions from C, and it makes 'mention' of
"When you call a C/C++ function from assembly language, load the designated registers with arguments and push the remaining arguments onto the stack as described in section 7.3.1"
So if I have
file1.cla
myFunction(params) {
.. whatever it does
}
file2.asm
.global _myFunction
MOV params into appropriate registers
MBCNDD #_myFunction
MNOP
MNOP
MNOP
It complains unresolved symbol when it links that _myFunction doesn't exist.
Is there more that I'm required to do in this case?