TIL that nasm does optimisation! It will convert `mov rax, 1` to `mov eax, 1` unless you specify -O0. Handy, but surprised me when tinkering with some machine code.