hello world test

This commit is contained in:
zombie maniac 2021-09-07 06:55:26 -04:00
parent 27bce83c5f
commit 06fca94a96
3 changed files with 16 additions and 0 deletions

BIN
helloworld/hello Executable file

Binary file not shown.

16
helloworld/hello.asm Normal file
View file

@ -0,0 +1,16 @@
section .data
text db "Hello World",10
section .text
global _start
_start:
mov rax, 1
mov rdi, 1
mov rsi, text
mov rdx, 14
syscall
mov rax, 60
mov edi, 0
syscall

BIN
helloworld/hello.o Normal file

Binary file not shown.