* gdb.texinfo (GDB/MI Simple Examples): Added 'disp' field to the
[deliverable/binutils-gdb.git] / opcodes / score-dis.c
index 0a4f67c6b3842b81b6e9d761bd2e7fc2f8d5762f..1210115b3d29e846259fabe68282eada2a1eb051 100644 (file)
@@ -1,25 +1,25 @@
 /* Instruction printing code for Score
-   Copyright 2006 Free Software Foundation, Inc.
+   Copyright 2006, 2007 Free Software Foundation, Inc.
    Contributed by:
    Mei Ligang (ligang@sunnorth.com.cn)
    Pei-Lin Tsai (pltsai@sunplus.com)
 
-   This file is part of libopcodes.
+   This file is part of the GNU opcodes library.
 
-   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 the Free
-   Software Foundation; either version 2 of the License, or (at your option)
+   This library is free software; you can redistribute it and/or modify
+   it under the terms of the GNU General Public License as published by
+   the Free Software Foundation; either version 3, or (at your option)
    any later version.
 
-   This program is distributed in the hope that it will be useful, but WITHOUT
-   ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
-   FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
-   more details.
+   It is distributed in the hope that it will be useful, but WITHOUT
+   ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+   or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public
+   License for more details.
 
    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., 51 Franklin Street - Fifth Floor, Boston, MA
-   02110-1301, USA.  */
+   along with this file; see the file COPYING.  If not, write to the
+   Free Software Foundation, 51 Franklin Street - Fifth Floor, Boston,
+   MA 02110-1301, USA.  */
 
 #include "sysdep.h"
 #include "dis-asm.h"
@@ -469,8 +469,8 @@ print_insn (bfd_vma pc, struct disassemble_info *info, bfd_boolean little)
     {
       long other;
 
-      given = (given & 0xFFFF0000) >> 16;
       other = given & 0xFFFF;
+      given = (given & 0xFFFF0000) >> 16;
 
       status = print_insn_score16 (pc, info, given);
       print_insn_parallel_sym (info);
This page took 0.046614 seconds and 4 git commands to generate.