aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>1996-12-07 16:54:57 +0000
committerJeff Law <law@redhat.com>1996-12-07 16:54:57 +0000
commit2e8f4133d71401a4db6aed26b8e6d84a188e3fae (patch)
treea58746e2800b841045d76318799571e5e344492e
parent6827a1c758a1d8464187764ca9b1e5d2cd6bc356 (diff)
downloadgdb-2e8f4133d71401a4db6aed26b8e6d84a188e3fae.zip
gdb-2e8f4133d71401a4db6aed26b8e6d84a188e3fae.tar.gz
gdb-2e8f4133d71401a4db6aed26b8e6d84a188e3fae.tar.bz2
* simops.c (REG0_16): Fix typo.
-rw-r--r--sim/mn10300/ChangeLog4
-rw-r--r--sim/mn10300/simops.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/sim/mn10300/ChangeLog b/sim/mn10300/ChangeLog
index ab20c14..974e312 100644
--- a/sim/mn10300/ChangeLog
+++ b/sim/mn10300/ChangeLog
@@ -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
diff --git a/sim/mn10300/simops.c b/sim/mn10300/simops.c
index f1f8c43..24bdfca 100644
--- a/sim/mn10300/simops.c
+++ b/sim/mn10300/simops.c
@@ -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)
/* mov imm8, dn */