From 6852aad8dc09f78367fac7fcd12c3d2711c976b7 Mon Sep 17 00:00:00 2001 From: Skiz Date: Thu, 29 Aug 2024 15:41:12 -0400 Subject: Got base program not to crash --- src/first.s | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/first.s') diff --git a/src/first.s b/src/first.s index 362ce5e..f778dee 100644 --- a/src/first.s +++ b/src/first.s @@ -3,4 +3,9 @@ _start: - + ; sys_write (print) + + ; sys_exit + mov rax, 60 + mov rdi, 69 + syscall -- cgit v1.2.3