daily update
[deliverable/binutils-gdb.git] / opcodes / alpha-dis.c
index 630454d2b86b6712c37f358a8be4b5c0f53fd2c6..39f0d78206ce1506961d04f6b2cb4d5dada27ad3 100644 (file)
@@ -1,5 +1,6 @@
 /* alpha-dis.c -- Disassemble Alpha AXP instructions
-   Copyright 1996, 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
+   Copyright 1996, 1998, 1999, 2000, 2001, 2002
+   Free Software Foundation, Inc.
    Contributed by Richard Henderson <rth@tamu.edu>,
    patterned after the PPC opcode handling written by Ian Lance Taylor.
 
@@ -17,8 +18,8 @@ the GNU General Public License for more details.
 
 You should have received a copy of the GNU General Public License
 along with this file; see the file COPYING.  If not, write to the Free
-Software Foundation, 59 Temple Place - Suite 330, Boston, MA
-02111-1307, USA.  */
+Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA
+02110-1301, USA.  */
 
 #include <stdio.h>
 #include "sysdep.h"
@@ -118,7 +119,7 @@ print_insn_alpha (memaddr, info)
   opcode_end = opcode_index[op + 1];
   for (opcode = opcode_index[op]; opcode < opcode_end; ++opcode)
     {
-      if ((insn & opcode->mask) != opcode->opcode)
+      if ((insn ^ opcode->opcode) & opcode->mask)
        continue;
 
       if (!(opcode->flags & isa_mask))
This page took 0.062559 seconds and 4 git commands to generate.