From ed45f4c6f280d14adb4e1b61437f1f904a3d6a9d Mon Sep 17 00:00:00 2001 From: "H. Peter Anvin" Date: Mon, 16 Apr 2007 05:26:29 +0000 Subject: [PATCH] More \321 -> \324 for 64-bit instructions The assembler doesn't seem to care, but for the disassembler, it's vitally important that we get our operand-size hints correctly. We probably need to audit insns.dat for this kinds of errors. --- insns.dat | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/insns.dat b/insns.dat index 1145918..3993ec8 100644 --- a/insns.dat +++ b/insns.dat @@ -695,7 +695,7 @@ MOV mem,reg16 \320\300\1\x89\101 8086,SM MOV reg16,reg16 \320\1\x89\101 8086 MOV mem,reg32 \321\300\1\x89\101 386,SM MOV reg32,reg32 \321\1\x89\101 386 -MOV mem,reg64 \321\300\1\x89\101 X64,SM +MOV mem,reg64 \324\300\1\x89\101 X64,SM MOV reg64,reg64 \321\1\x89\101 X64 MOV reg8,mem \301\1\x8A\110 8086,SM MOV reg8,reg8 \1\x8A\110 8086 @@ -703,7 +703,7 @@ MOV reg16,mem \320\301\1\x8B\110 8086,SM MOV reg16,reg16 \320\1\x8B\110 8086 MOV reg32,mem \321\301\1\x8B\110 386,SM MOV reg32,reg32 \321\1\x8B\110 386 -MOV reg64,mem \321\301\1\x8B\110 X64,SM +MOV reg64,mem \324\301\1\x8B\110 X64,SM MOV reg64,reg64 \321\1\x8B\110 X64 MOV reg8,imm \10\xB0\21 8086,SM MOV reg16,imm \320\10\xB8\31 8086,SM @@ -712,7 +712,7 @@ MOV reg64,imm \324\10\xB8\55 X64,SM MOV rm8,imm \300\1\xC6\200\21 8086,SM MOV rm16,imm \320\300\1\xC7\200\31 8086,SM MOV rm32,imm \321\300\1\xC7\200\41 386,SM -MOV rm64,imm \321\300\1\xC7\200\41 X64,SM +MOV rm64,imm \324\300\1\xC7\200\41 X64,SM MOV mem,imm8 \300\1\xC6\200\21 8086,SM MOV mem,imm16 \320\300\1\xC7\200\31 8086,SM MOV mem,imm32 \321\300\1\xC7\200\41 386,SM -- 2.7.4