aboutsummaryrefslogtreecommitdiff
path: root/sim
diff options
context:
space:
mode:
authorJoyce Janczyn <janczyn@cygnus>1998-03-25 22:43:19 +0000
committerJoyce Janczyn <janczyn@cygnus>1998-03-25 22:43:19 +0000
commitd1607ed3162ecaecd5129566054bfdfbc3683847 (patch)
tree5bb07e681180ed24e32c1f6bc7bc1fc062c7e892 /sim
parent04cdafa7a4314c38f12db19d403296eda723075e (diff)
downloadgdb-d1607ed3162ecaecd5129566054bfdfbc3683847.zip
gdb-d1607ed3162ecaecd5129566054bfdfbc3683847.tar.gz
gdb-d1607ed3162ecaecd5129566054bfdfbc3683847.tar.bz2
* mn10300.igen (cmp imm8,An): Do not sign extend imm8 value.
Diffstat (limited to 'sim')
-rw-r--r--sim/mn10300/ChangeLog4
-rw-r--r--sim/mn10300/mn10300.igen2
2 files changed, 5 insertions, 1 deletions
diff --git a/sim/mn10300/ChangeLog b/sim/mn10300/ChangeLog
index 7e70336..94cfe16 100644
--- a/sim/mn10300/ChangeLog
+++ b/sim/mn10300/ChangeLog
@@ -1,3 +1,7 @@
+Wed Mar 25 17:42:00 1998 Joyce Janczyn <janczyn@cygnus.com>
+
+ * mn10300.igen (cmp imm8,An): Do not sign extend imm8 value.
+
Wed Mar 25 12:08:00 1998 Joyce Janczyn <janczyn@cygnus.com>
* simops.c (OP_F0FD): Initialise variable 'sp'.
diff --git a/sim/mn10300/mn10300.igen b/sim/mn10300/mn10300.igen
index 27685a8..2e16d27 100644
--- a/sim/mn10300/mn10300.igen
+++ b/sim/mn10300/mn10300.igen
@@ -1822,7 +1822,7 @@
if ( AM1 == AN0 )
{
// op_B000 ();
- genericCmp(EXTEND8 (IMEM8_IMMED (cia, 1)),
+ genericCmp(IMEM8_IMMED (cia, 1),
State.regs[REG_A0 + AN0]);
nia = cia + 2;
}