diff options
Diffstat (limited to 'src/user/hello')
-rw-r--r-- | src/user/hello/hello.asm | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/user/hello/hello.asm b/src/user/hello/hello.asm new file mode 100644 index 0000000..65d32be --- /dev/null +++ b/src/user/hello/hello.asm @@ -0,0 +1,14 @@ +bits 32 + +global _entry + +section .text +_entry: + mov eax, 0x5 + mov ebx, hello + int 0x30 + + int 0x38 + +section .data +hello db "Hello, world!", 0x0a, 0
\ No newline at end of file |