diff options
author | iximeow <me@iximeow.net> | 2014-09-24 12:15:06 -0700 |
---|---|---|
committer | iximeow <me@iximeow.net> | 2014-09-24 12:15:06 -0700 |
commit | c0ab4a627bca92268b9ecadc03298b8573b5d2ae (patch) | |
tree | 9f81e7f75e359b8140634a8e516c1f86b1311767 /src |
Initial commit
Diffstat (limited to 'src')
-rw-r--r-- | src/kernel/main.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/kernel/main.c b/src/kernel/main.c new file mode 100644 index 0000000..90f82f4 --- /dev/null +++ b/src/kernel/main.c @@ -0,0 +1,11 @@ +int func() { + asm( + ".intel_syntax noprefix \n" + "mov eax, 42 \n" + "ret \n" + ); +} + +int _start() { + return 1; +} |