S
sbillore
Hi All,
I want to write one c function with some
inline assembly code like that:
void foo(int i)
{
__asm("addu $at,i,0");
}
Here input is a general purpose register number.
It's giving error at "i", that register expected.
I am using ghs compiler for MIPS.
Could anyone please tell me how I can do it?
Regards,
Sachin
I want to write one c function with some
inline assembly code like that:
void foo(int i)
{
__asm("addu $at,i,0");
}
Here input is a general purpose register number.
It's giving error at "i", that register expected.
I am using ghs compiler for MIPS.
Could anyone please tell me how I can do it?
Regards,
Sachin