diff options
Diffstat (limited to 'src/user/hello')
-rw-r--r-- | src/user/hello/hello.asm | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/user/hello/hello.asm b/src/user/hello/hello.asm new file mode 100644 index 0000000..345abb4 --- /dev/null +++ b/src/user/hello/hello.asm @@ -0,0 +1,15 @@ +global _entry + +section .text +_entry: + mov eax, 3 + mov ebx, msg + int 0x32 + + int 0x30 + +section .rodata +msg db "Hello, world!", 0x0a, 0x00 + +section .bss +stack resb 8
\ No newline at end of file |