Updated copyright notices for most files.
[deliverable/binutils-gdb.git] / sim / m32c / r8c.opc
index 4db0bda030803e2029094264be00948efce80c9c..bc7f1073fe5331e1d814147d7c8ba8c04b86f65d 100644 (file)
@@ -1,24 +1,22 @@
 /* r8c.opc --- semantics for r8c opcodes.                      -*- mode: c -*-
 
-Copyright (C) 2005 Free Software Foundation, Inc.
+Copyright (C) 2005, 2007, 2008 Free Software Foundation, Inc.
 Contributed by Red Hat, Inc.
 
 This file is part of the GNU simulators.
 
-The GNU simulators are free software; you can redistribute them and/or
-modify them 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) any later version.
+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 3 of the License, or
+(at your option) any later version.
 
-The GNU simulators are distributed in the hope that they 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.
+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.
 
 You should have received a copy of the GNU General Public License
-along with the GNU simulators; if not, write to the Free Software
-Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
-02110-1301, USA  */
+along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 
 #include <stdio.h>
@@ -885,7 +883,7 @@ decode_r8c()
 
   /** 0111 010w 1100 dest  MOV.size:G #IMM,dest */
 
-  UNARY_UOP;
+  dc = decode_srcdest4 (dest, w);
   imm = IMM(w);
   v = imm;
   tprintf("%x = %x\n", v, v);
@@ -894,7 +892,7 @@ decode_r8c()
 
   /** 1101 100w immm dest  MOV.size:Q #IMM,dest */
 
-  UNARY_SOP;
+  dc = decode_srcdest4 (dest, w);
   v = sign_ext (immm, 4);
   tprintf ("%x = %x\n", v, v);
   set_sz (v, w+1);
@@ -1530,14 +1528,14 @@ decode_r8c()
   sc = decode_srcdest4(srcx, w);
   dc = decode_srcdest4(dest, w);
   b = get_src (sc);
-  MATH_OP (dc, b, 0, -, > 0);
+  MATH_OP (dc, b, 0, -, >= 0);
 
   /** 0010 1d sr           SUB.B:S src,R0L/R0H */
 
   sc = decode_src2 (sr, 0, d);
   dc = decode_dest1 (d, 0);
   b = get_src (sc);
-  MATH_OP (dc, b, 0, -, > 0);
+  MATH_OP (dc, b, 0, -, >= 0);
 
   /** 0111 011w 0000 dest  TST.size #IMM, dest */
 
This page took 0.037596 seconds and 4 git commands to generate.