Correct the handling of "MOV" with immediate in 64-bit mode

Correct the handling of "MOV" with immediate in 64-bit mode.  With
these changes, movimm.asm produces the desired results.
This commit is contained in:
H. Peter Anvin 2007-09-25 15:40:36 -07:00
parent 0bd2565dd7
commit c58642fbba

View file

@ -722,15 +722,15 @@ MOV reg16,reg16 \320\1\x8B\110 8086
MOV reg32,mem \321\1\x8B\110 386,SM
MOV reg32,reg32 \321\1\x8B\110 386
MOV reg64,mem \324\1\x8B\110 X64,SM
MOV reg64,reg64 \324\1\x8B\110 X64
MOV reg64,reg64 \324\1\x8B\110 X64,SM
MOV reg8,imm \10\xB0\21 8086,SM
MOV reg16,imm \320\10\xB8\31 8086,SM
MOV reg32,imm \321\10\xB8\41 386,SM
MOV reg64,imm \324\10\xB8\55 X64,SM
MOV reg64,imm \324\10\xB8\55 X64,SQ
MOV rm8,imm \1\xC6\200\21 8086,SM
MOV rm16,imm \320\1\xC7\200\31 8086,SM
MOV rm32,imm \321\1\xC7\200\41 386,SM
MOV rm64,imm \324\1\xC7\200\41 X64,SM
MOV rm64,imm \324\1\xC7\200\41 X64,SD
MOV mem,imm8 \1\xC6\200\21 8086,SM
MOV mem,imm16 \320\1\xC7\200\31 8086,SM
MOV mem,imm32 \321\1\xC7\200\41 386,SM