aboutsummaryrefslogtreecommitdiff
path: root/opcodes/i386-dis.c
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2016-11-03 08:38:13 -0700
committerH.J. Lu <hjl.tools@gmail.com>2016-11-03 08:38:13 -0700
commit7148c36989ee64f15ac9618543309cd7311b6015 (patch)
treefc44f339aaac5243314b12dcfbf5e1312972bc53 /opcodes/i386-dis.c
parent04180708eff91ddd3a9572bd4b517ccce5850db0 (diff)
downloadfsf-binutils-gdb-7148c36989ee64f15ac9618543309cd7311b6015.zip
fsf-binutils-gdb-7148c36989ee64f15ac9618543309cd7311b6015.tar.gz
fsf-binutils-gdb-7148c36989ee64f15ac9618543309cd7311b6015.tar.bz2
X86: Rename REG_82 to REG_83
The REG_82 entry in x86 disassembler is for opcode 0x83, not opcode 0x82. * i386-dis.c (REG_82): Renamed to ... (REG_83): This. (dis386): Updated. (reg_table): Likewise.
Diffstat (limited to 'opcodes/i386-dis.c')
-rw-r--r--opcodes/i386-dis.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/opcodes/i386-dis.c b/opcodes/i386-dis.c
index 56b3407..8fb607c 100644
--- a/opcodes/i386-dis.c
+++ b/opcodes/i386-dis.c
@@ -706,7 +706,7 @@ enum
{
REG_80 = 0,
REG_81,
- REG_82,
+ REG_83,
REG_8F,
REG_C0,
REG_C1,
@@ -2663,7 +2663,7 @@ static const struct dis386 dis386[] = {
{ REG_TABLE (REG_80) },
{ REG_TABLE (REG_81) },
{ Bad_Opcode },
- { REG_TABLE (REG_82) },
+ { REG_TABLE (REG_83) },
{ "testB", { Eb, Gb }, 0 },
{ "testS", { Ev, Gv }, 0 },
{ "xchgB", { Ebh2, Gb }, 0 },
@@ -3400,7 +3400,7 @@ static const struct dis386 reg_table[][8] = {
{ "xorQ", { Evh1, Iv }, 0 },
{ "cmpQ", { Ev, Iv }, 0 },
},
- /* REG_82 */
+ /* REG_83 */
{
{ "addQ", { Evh1, sIb }, 0 },
{ "orQ", { Evh1, sIb }, 0 },