The Meson Build System http://mesonbuild.com/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

18 lines
370 B

%include "config.asm"
section .data
msg: db "Hello World", 10
len: equ $ - msg
section .text
global main
main:
mov eax, 1 ; sys_write
mov edi, 1 ; fd = STDOUT_FILENO
mov rsi, msg ; buf = msg
mov rdx, len ; count = len
syscall
mov eax, 60 ; sys_exit
mov edi, HELLO ; exit code
syscall