S
Sachin
Hi All,
I am working on MIPS architecture and I am
compiling my project using GHS tool chain.
I want to call a assembly routine into c function.
My code is like that:
..globl asm
..ent asm
asm:
----
----
..end asm
I am calling this routine in c function like that:
extern void asm(void);
void foo()
{
asm();
}
On compiling, error message comes that
symbol asm unresolved.
Could any one tell that how I can do it for GHS.
Regards,
Sachin
I am working on MIPS architecture and I am
compiling my project using GHS tool chain.
I want to call a assembly routine into c function.
My code is like that:
..globl asm
..ent asm
asm:
----
----
..end asm
I am calling this routine in c function like that:
extern void asm(void);
void foo()
{
asm();
}
On compiling, error message comes that
symbol asm unresolved.
Could any one tell that how I can do it for GHS.
Regards,
Sachin