aboutsummaryrefslogtreecommitdiff
path: root/include/opcode/i386.h
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2000-08-16 17:29:23 +0000
committerH.J. Lu <hjl.tools@gmail.com>2000-08-16 17:29:23 +0000
commitfc29466dba8dce550aecf20fb939add6bc72daf0 (patch)
tree6829bac9466af6fa3cc6f6eee5112e5d2d269b75 /include/opcode/i386.h
parentd7491b3f51c983dba510568ce2f142a15663b65c (diff)
downloadgdb-fc29466dba8dce550aecf20fb939add6bc72daf0.zip
gdb-fc29466dba8dce550aecf20fb939add6bc72daf0.tar.gz
gdb-fc29466dba8dce550aecf20fb939add6bc72daf0.tar.bz2
2000-08-15 H.J. Lu <hjl@gnu.org>
* i386.h: Swap the Intel syntax "movsx"/"movzx" due to the IgnoreSize change.
Diffstat (limited to 'include/opcode/i386.h')
-rw-r--r--include/opcode/i386.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/opcode/i386.h b/include/opcode/i386.h
index d9c151e..caef283 100644
--- a/include/opcode/i386.h
+++ b/include/opcode/i386.h
@@ -108,15 +108,15 @@ static const template i386_optab[] = {
{"movsbw", 2, 0x0fbe, X, Cpu386, NoSuf|Modrm, { Reg8|ByteMem, Reg16, 0} },
{"movswl", 2, 0x0fbf, X, Cpu386, NoSuf|Modrm, { Reg16|ShortMem, Reg32, 0} },
/* Intel Syntax next 2 insns */
-{"movsx", 2, 0x0fbf, X, Cpu386, w_Suf|Modrm|IgnoreSize, { Reg16|ShortMem, Reg32, 0} },
{"movsx", 2, 0x0fbe, X, Cpu386, b_Suf|Modrm, { Reg8|ByteMem, WordReg, 0} },
+{"movsx", 2, 0x0fbf, X, Cpu386, w_Suf|Modrm|IgnoreSize, { Reg16|ShortMem, Reg32, 0} },
/* Move with zero extend. */
{"movzb", 2, 0x0fb6, X, Cpu386, wl_Suf|Modrm, { Reg8|ByteMem, WordReg, 0} },
{"movzwl", 2, 0x0fb7, X, Cpu386, NoSuf|Modrm, { Reg16|ShortMem, Reg32, 0} },
/* Intel Syntax next 2 insns */
-{"movzx", 2, 0x0fb7, X, Cpu386, w_Suf|Modrm|IgnoreSize, { Reg16|ShortMem, Reg32, 0} },
{"movzx", 2, 0x0fb6, X, Cpu386, b_Suf|Modrm, { Reg8|ByteMem, WordReg, 0} },
+{"movzx", 2, 0x0fb7, X, Cpu386, w_Suf|Modrm|IgnoreSize, { Reg16|ShortMem, Reg32, 0} },
/* Push instructions. */
{"push", 1, 0x50, X, 0, wl_Suf|ShortForm|DefaultSize, { WordReg, 0, 0 } },