# Hello world using DSOs .section .data helloworld: .ascii "hello world\n\0" .section .text .globl _start _start: # This differs from the book. In x86_64, arguments are passed through # registers most of the time, in contrast with i386, where we can push # them in the stack. movq $helloworld, %rdi call printf movq $50, %rdi call exit