.file "test_2.asm"
.data
str: .ascii "hello world\n"

.text
.global _start

_start:

    // sys_write
    movq $1, %rax
    movq $1, %rdi
    movq $str, %rsi
    movq $12, %rdx
M1:
    syscall
M2:  
    // exit
    movq $60, %rax
    movq $0, %rdi
    syscall
