daily update
[deliverable/binutils-gdb.git] / opcodes / msp430-dis.c
index ebc583f9693ca5fa174e1b6383c35929b8701cd3..71690a3c62b8c60b492fd5f0a9a0dcdbfb683e3e 100644 (file)
@@ -1,5 +1,6 @@
 /* Disassemble MSP430 instructions.
-   Copyright (C) 2002, 2004, 2005, 2007 Free Software Foundation, Inc.
+   Copyright (C) 2002, 2004, 2005, 2007, 2009, 2010, 2012
+   Free Software Foundation, Inc.
    
    Contributed by Dmitry Diky <diwil@mail.ru>
         
@@ -20,9 +21,9 @@
    Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
    MA 02110-1301, USA.  */
 
+#include "sysdep.h"
 #include <stdio.h>
 #include <ctype.h>
-#include <string.h>
 #include <sys/types.h>
 
 #include "dis-asm.h"
@@ -546,14 +547,13 @@ msp430_branchinstr (disassemble_info *info,
                    int *cycles)
 {
   int regs = 0, regd = 0;
-  int ad = 0, as = 0;
+  int as = 0;
   int cmd_len = 2;
   short dst = 0;
 
   regd = insn & 0x0f;
   regs = (insn & 0x0f00) >> 8;
   as = (insn & 0x0030) >> 4;
-  ad = (insn & 0x0080) >> 7;
 
   if (regd != 0)       /* Destination register is not a PC.  */
     return 0;
This page took 0.025126 seconds and 4 git commands to generate.