memory added

This commit is contained in:
2019-03-13 19:54:05 +01:00
parent 73dcf70064
commit 96391dd93c
3 changed files with 142 additions and 0 deletions

View File

@@ -22,6 +22,9 @@ _start:
; x64 has the syscall function, in contrast to int in x86 and ARM
; See /usr/include/asm/unistd_64.h for the numbers
; Clobbered registers
; rax rdi rsi rdx r10 r8 r9
; Write to stdout
mov rax, 1
mov rdi, stdout ; fd to write to