Clean up Assembly files (#1003)

This commit is contained in:
MrBrain295
2021-05-08 09:57:36 -05:00
committed by GitHub
parent 45856bf57b
commit 7f7369291b
20 changed files with 174 additions and 196 deletions

View File

@@ -2,13 +2,13 @@ global start
section .text
start:
mov rax, 0x2000004 ; write
mov rdi, 1 ; stdout
mov rax, 0x2000004
mov rdi, 1
mov rsi, msg
mov rdx, msg.len
syscall
mov rax, 0x2000001 ; exit
mov rax, 0x2000001
mov rdi, 0
syscall