summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2007-09-25 15:40:36 -0700
committerH. Peter Anvin <hpa@zytor.com>2007-09-25 15:40:36 -0700
commitc58642fbbaa88ccf5316dbe393dc87275da21b51 (patch)
treef2fb17e849b502e2c8cb44b3978f94403cc0be1b
parent0bd2565dd7884fc3526b814d19185625b0adf82b (diff)
downloadnasm-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.dat6
1 files changed, 3 insertions, 3 deletions
diff --git a/insns.dat b/insns.dat
index b4e38d3..f4c1e11 100644
--- a/insns.dat
+++ b/insns.dat
@@ -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