#include #include int main(){ char *hello = "Hello World\n"; int length = strlen(hello); __asm__("movl $4, %%eax \n\t" "movl $1, %%ebx \n\t" "int $0x80 \n\t" : :"c"(hello), "d"(length) ); return 0; }