.file "main.s" .data str: .ascii "test\n" .text .globl main main: movq %rsp, %rbp movq $1, %rax movq $1, %rdi leaq str(%rip), %rsi movq $5, %rdx syscall movq %rbp, %rsp movq $0, %rax ret