From c0ab4a627bca92268b9ecadc03298b8573b5d2ae Mon Sep 17 00:00:00 2001 From: iximeow Date: Wed, 24 Sep 2014 12:15:06 -0700 Subject: Initial commit --- src/kernel/main.c | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 src/kernel/main.c (limited to 'src') 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; +} -- cgit v1.1