From 8f78a442394aff7c3e815b881863a0c11c887ce5 Mon Sep 17 00:00:00 2001 From: Nan Xiao Date: Fri, 18 Oct 2019 15:59:41 +0800 Subject: [PATCH] Adjust the format of hello_proper_exit.asm --- listings/chap2/hello_proper_exit/hello_proper_exit.asm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/listings/chap2/hello_proper_exit/hello_proper_exit.asm b/listings/chap2/hello_proper_exit/hello_proper_exit.asm index d9923e0..4692e7f 100755 --- a/listings/chap2/hello_proper_exit/hello_proper_exit.asm +++ b/listings/chap2/hello_proper_exit/hello_proper_exit.asm @@ -11,7 +11,7 @@ _start: mov rdx, 14 ; string length in bytes syscall - mov rax, 60 ; 'exit' syscall number + mov rax, 60 ; 'exit' syscall number xor rdi, rdi syscall