.global _start .text _start: # ssize_t write(int fd, const void *buf, size_t count) mov $1, %rax # system call 1 is write mov $1, %rdi # stdout fd mov $msg,%rsi # buffer mov $13, %rdx # number of bytes syscall # exit(result) mov $0,%rdi # result mov $60,%rax # System call 60 is exit syscall msg: .asciz "Hello Again!" # hello_world: db "Hello World!",10 # hello_world_size EQU $ - hello_world