diff options
author | H. Peter Anvin <hpa@zytor.com> | 2007-09-25 15:40:36 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2007-09-25 15:40:36 -0700 |
commit | c58642fbbaa88ccf5316dbe393dc87275da21b51 (patch) | |
tree | f2fb17e849b502e2c8cb44b3978f94403cc0be1b | |
parent | 0bd2565dd7884fc3526b814d19185625b0adf82b (diff) | |
download | nasm-c58642fbbaa88ccf5316dbe393dc87275da21b51.tar.gz nasm-c58642fbbaa88ccf5316dbe393dc87275da21b51.tar.bz2 nasm-c58642fbbaa88ccf5316dbe393dc87275da21b51.zip |
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.
-rw-r--r-- | insns.dat | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 |