; foo.asm ; nasm -f elf64 foo.asm -o foo.o && ld -s -o foo foo.o && ./foo global _start: _start: push rbp mov rbp, rsp sub rsp, 20 mov word [rbp-20], 'aa' mov word [rbp-18], 'bb' mov word [rbp-16], 'cc' mov dword [rbp-14], 'xxyy' ; qword does not work mov qword [rbp-10], 'qqffffqq' ; two dwords work??? ; mov dword [rbp-10], 'qqff' ; mov dword [rbp-6], 'ffqq' mov byte [rbp-2], 0x0a lea rsi, [rbp-20] mov rax, 1 mov rdi, 1 mov rdx, 19 syscall pop rbp mov rax, 60 mov rdi, 0 syscall