.section .data STRING: .string "Hello World from userspace" STRING_LEN: .quad . - STRING .section .text .global _start _start: movq $1, %rax lea STRING(%rip), %rdi lea STRING_LEN(%rip), %rsi syscall movq $2, %rax syscall