summaryrefslogtreecommitdiff
path: root/test.c
diff options
context:
space:
mode:
Diffstat (limited to 'test.c')
-rw-r--r--test.c12
1 files changed, 5 insertions, 7 deletions
diff --git a/test.c b/test.c
index e2db834..f34d4e2 100644
--- a/test.c
+++ b/test.c
@@ -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);
}