2001-07-21 Chris Demetriou <cgd@broadcom.com>
[deliverable/binutils-gdb.git] / opcodes / mcore-dis.c
index 096cec9aec06a90e80a00c5f5c7dd382f83db3e6..bbf0f977209b8605a5fb2d9a79b483f3cd06823c 100644 (file)
@@ -1,5 +1,5 @@
 /* Disassemble Motorola M*Core instructions.
-   Copyright (C) 1993, 1999, 2000 Free Software Foundation, Inc.
+   Copyright 1993, 1999, 2000 Free Software Foundation, Inc.
 
 This program is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
@@ -15,6 +15,7 @@ You should have received a copy of the GNU General Public License
 along with this program; if not, write to the Free Software
 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
 
+#include "sysdep.h"
 #include <stdio.h>
 #define STATIC_TABLE
 #define DEFINE_TABLE
@@ -28,7 +29,7 @@ static const unsigned short imsk[] =
     /* O0  */ 0xFFFF,
     /* OT  */ 0xFFFC,
     /* O1  */ 0xFFF0,
-    /* OC  */ 0xFFE0,
+    /* OC  */ 0xFE00,
     /* O2  */ 0xFF00,
     /* X1  */ 0xFFF0,
     /* OI  */ 0xFE00,
@@ -168,7 +169,7 @@ print_insn_mcore (memaddr, info)
            
            if (strcmp (op->name, "bsr") == 0)
              {
-               /* for bsr, we'll try to get a symbol for the target */
+               /* For bsr, we'll try to get a symbol for the target.  */
                val = memaddr + 2 + (val << 1);
                
                if (info->print_address_func && val != 0)
@@ -267,12 +268,12 @@ print_insn_mcore (memaddr, info)
          break;
          
        default:
-         /* if the disassembler lags the instruction set */
+         /* If the disassembler lags the instruction set.  */
          fprintf (stream, "\tundecoded operands, inst is 0x%04x", inst);
          break;
        }
     }
   
-  /* Say how many bytes we consumed? */
+  /* Say how many bytes we consumed */
   return 2;
 }
This page took 0.026223 seconds and 4 git commands to generate.