summaryrefslogtreecommitdiff
path: root/usrbin/lib.s
diff options
context:
space:
mode:
authorJake Mannens <jake72360@gmail.com>2018-06-24 02:27:22 +1000
committerJake Mannens <jake72360@gmail.com>2018-06-24 02:27:22 +1000
commit97d3551106495fa18969e2690720b621ba5a9c0b (patch)
tree76967873f1f4209b940eadc77753bd67ef65e0b1 /usrbin/lib.s
parentacba87c1e946118f0ba4308a7211199cf9b7cbb2 (diff)
Re-structured the source tree and modified makefiles accordingly.
Hopefully further separation will help to keep the code readable and understandable.
Diffstat (limited to 'usrbin/lib.s')
-rw-r--r--usrbin/lib.s10
1 files changed, 10 insertions, 0 deletions
diff --git a/usrbin/lib.s b/usrbin/lib.s
new file mode 100644
index 0000000..ffe4f5f
--- /dev/null
+++ b/usrbin/lib.s
@@ -0,0 +1,10 @@
+bits 32
+
+extern main
+
+section .entry
+init:
+ call main
+.loop:
+ ; loop forever
+ jmp .loop