aboutsummaryrefslogtreecommitdiff
path: root/sim
diff options
context:
space:
mode:
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;
}