OSDN Git Service

2001-05-12 H.J. Lu <hjl@gnu.org>
authorhjl <hjl>
Sat, 12 May 2001 15:19:22 +0000 (15:19 +0000)
committerhjl <hjl>
Sat, 12 May 2001 15:19:22 +0000 (15:19 +0000)
* i386-dis.c (print_insn_i386): Always set `mod', `reg' and
`rm'.

opcodes/ChangeLog
opcodes/i386-dis.c

index 6736d2b..7604c3b 100644 (file)
@@ -1,3 +1,8 @@
+2001-05-12  H.J. Lu  <hjl@gnu.org>
+
+       * i386-dis.c (print_insn_i386): Always set `mod', `reg' and
+       `rm'.
+
 2001-05-12  Peter Targett  <peter.targett@arccores.com>
 
        * arc-opc.c (arc_reg_names): Correct attribute for lp_count
index 4eb57da..4818a7b 100644 (file)
@@ -3146,6 +3146,12 @@ print_insn_i386 (pc, info)
       reg = (*codep >> 3) & 7;
       rm = *codep & 7;
     }
+  else
+    {
+      mod = 0;
+      reg = 0;
+      rm = 0;
+    }
 
   if (dp->name == NULL && dp->bytemode1 == FLOATCODE)
     {