Hi, there:
I am currently using Code Composer Studio to
code C5409, I tried to define a function in assembly and call it from C, I
always got the error message: _func undefined. what happened there? I' ve
already included the rts.lib.
My code is like:
Assembly Part:
.globla _func
.text
_func: xxx
yyy
zzz
ret
C part:
extern void
func(void);
void
dummy(void)
{
func();
}
Thanks a lot,
/Michael
|
Calling assembly function from C......
Started by ●March 29, 2000