* simops.c (REG0_16): Fix typo.
authorJeff Law <law@redhat.com>
Sat, 7 Dec 1996 16:54:57 +0000 (16:54 +0000)
committerJeff Law <law@redhat.com>
Sat, 7 Dec 1996 16:54:57 +0000 (16:54 +0000)
sim/mn10300/ChangeLog
sim/mn10300/simops.c

index ab20c14..974e312 100644 (file)
@@ -1,3 +1,7 @@
+Sat Dec  7 09:50:28 1996  Jeffrey A Law  (law@cygnus.com)
+
+       * simops.c (REG0_16): Fix typo.
+
 Fri Dec  6 14:13:34 1996  Jeffrey A Law  (law@cygnus.com)
 
        * simops.c: Call abort for any instruction that's not currently
index f1f8c43..24bdfca 100644 (file)
@@ -17,7 +17,7 @@
 #define REG1(X) (((X) & 0xc) >> 2)
 #define REG0_8(X) (((X) & 0x300) >> 8)
 #define REG1_8(X) (((X) & 0xc00) >> 10)
-#define REG0_16(X) (((X) & 0x30000) >> 8)
+#define REG0_16(X) (((X) & 0x30000) >> 16)
 #define REG1_16(X) (((X) & 0xc0000) >> 18)
 \f
 /* mov imm8, dn */