diff --git a/distro-files/root/hello.asm b/distro-files/root/hello.asm new file mode 100644 index 00000000..81c5ad32 --- /dev/null +++ b/distro-files/root/hello.asm @@ -0,0 +1,13 @@ +section .text +global _start +_start: + mov rax, 9 + mov rdi, 1 + mov rsi, msg + mov rdx, 14 + syscall + mov rax,15 + xor rdi, rdi + syscall +section .data +msg: db "Hello, world!", 0xA