aboutsummaryrefslogtreecommitdiff
path: root/src/userspace/main.asm
diff options
context:
space:
mode:
Diffstat (limited to 'src/userspace/main.asm')
-rw-r--r--src/userspace/main.asm12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/userspace/main.asm b/src/userspace/main.asm
new file mode 100644
index 0000000..4369f10
--- /dev/null
+++ b/src/userspace/main.asm
@@ -0,0 +1,12 @@
+bits 32
+mov esp, ebp
+
+mov eax, 1
+lea edi, [ebp+welcome]
+mov esi, welcome_sz
+int 0x80
+
+jmp $
+
+welcome db "Welcome to the userspace!", 0x0A, 0x0A
+welcome_sz equ $ - welcome \ No newline at end of file