diff options
Diffstat (limited to 'test.c')
-rw-r--r-- | test.c | 12 |
1 files changed, 5 insertions, 7 deletions
@@ -1,12 +1,10 @@ #include <stdio.h> +#include <stdlib.h> + int x; void main() { - x = 123; - printf("hi"); - __asm__ ("movl $1, %%eax\n" - "movl %0, %%ebx\n" - "int $0x80\n" - : - : "r" (x) : "ebx", "eax"); + puts("HellO"); + printf("hello\n"); + _exit(123); } |