Hi
I got a problem with inline asm example from some tutor. The source looks like:
int main()
{
__asm__("
xorl %ebx,%ebx
movb $0x17,%al
int $0x80
");
return 0;
} And now i got an error:
apacz@dstool:~/coding/tests/bo$ gcc asm.c
asm.c:3:17: missing terminating " character
asm.c: In function `main':
asm.c:4: error: parse error before "xorl"
asm.c:7:9: missing terminating " character
It should be fine couse it's from tutor.. Why something like this appears?
apacz,
Regards.