1 [bits 64] 2 mov ah, 5 3 mov ax, 5 4 mov eax, 5 5 mov rax, 5 ; optimized to signed 32-bit form 6 mov rax, dword 5 ; explicitly 32-bit 7 mov rax, qword 5 ; explicitly 64-bit 8 ; test sign optimization cases 9 mov rax, 0x7fffffff 10 mov rax, dword 0x7fffffff 11 mov rax, qword 0x7fffffff 12 mov rax, 0x80000000 13 mov rax, dword 0x80000000 14 mov rax, qword 0x80000000 15 mov rax, -0x80000000 16 mov rax, dword -0x80000000 17 mov rax, qword -0x80000000 18 mov rax, 0x100000000 19 mov rax, dword 0x100000000 20 mov rax, qword 0x100000000 21 mov ah, bl 22 mov bl, r8b 23 mov sil, r9b 24 mov r10w, r11w 25 mov r15d, r12d 26 mov r13, r14 27 inc ebx 28 dec ecx 29