QoL
This commit is contained in:
@@ -20,6 +20,7 @@ section .bss
|
||||
section .text
|
||||
_start:
|
||||
; x64 has the syscall function, in contrast to int in x86 and ARM
|
||||
; See /usr/include/asm/unistd_64.h for the numbers
|
||||
|
||||
; Write to stdout
|
||||
mov rax, 1
|
||||
@@ -44,7 +45,6 @@ _start:
|
||||
mov rsi, strBuffer
|
||||
syscall
|
||||
|
||||
|
||||
; Exit routine
|
||||
mov rax, 60 ; 60 is the exit routine
|
||||
xor rdi, rdi ; our return code (0)
|
||||
|
||||
Reference in New Issue
Block a user