simple inline asm question
Posted: Thu Jun 30, 2005 5:32 pm
i'm not too good with inline asm(gcc) and i can't find the problem with:
wend i compile i get:
Code: Select all
void jmp(void *prog)
{
asm volatile ("jmp %0" : : "m" (prog));
}
void call(void *prog)
{
asm volatile ("call %0" : : "m" (prog));
}
Code: Select all
Warning: indirect jmp without '*'
Warning: indirect call without '*'