From 3e8b3576f06f9b4f9c066a675fd08f018c6f7bd3 Mon Sep 17 00:00:00 2001 From: Matheus Date: Tue, 4 Jul 2023 20:42:10 -0300 Subject: [PATCH] distro-files: fix old syscall numbers from pre-rewrite --- distro-files/root/hello.asm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/distro-files/root/hello.asm b/distro-files/root/hello.asm index 81c5ad32..f086e676 100644 --- a/distro-files/root/hello.asm +++ b/distro-files/root/hello.asm @@ -1,12 +1,12 @@ section .text global _start _start: - mov rax, 9 + mov rax, 7 mov rdi, 1 mov rsi, msg mov rdx, 14 syscall - mov rax,15 + mov rax, 13 xor rdi, rdi syscall section .data