From: Jeff Law Date: Sat, 7 Dec 1996 16:54:57 +0000 (+0000) Subject: * simops.c (REG0_16): Fix typo. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2e8f4133d71401a4db6aed26b8e6d84a188e3fae;p=binutils-gdb.git * simops.c (REG0_16): Fix typo. --- diff --git a/sim/mn10300/ChangeLog b/sim/mn10300/ChangeLog index ab20c1499d2..974e3127624 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 f1f8c43ce46..24bdfca26f1 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 */