Better handling of 32-bit imms in 64-bit moves

A much better way to handle the 32-bit immediates in 64-bit moves.
Add a test file.
This commit is contained in:
H. Peter Anvin 2008-03-19 14:52:27 -07:00
parent 65e823978b
commit accf94ea24

7
test/imm64.asm Normal file
View file

@ -0,0 +1,7 @@
bits 64
mov rax,11223344h
mov rax,dword 11223344h
mov eax,11223344h
mov [rax],dword 11223344h ; 32-bit operation
mov qword [rax],11223344h
mov qword [rax],dword 11223344h