aboutsummaryrefslogtreecommitdiff
path: root/sim
diff options
context:
space:
mode:
Diffstat (limited to 'sim')
-rw-r--r--sim/d10v/ChangeLog4
-rw-r--r--sim/d10v/simops.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/sim/d10v/ChangeLog b/sim/d10v/ChangeLog
index 5556044..d82761c 100644
--- a/sim/d10v/ChangeLog
+++ b/sim/d10v/ChangeLog
@@ -1,3 +1,7 @@
+Wed Oct 16 13:50:06 1996 Michael Meissner <meissner@tiktok.cygnus.com>
+
+ * simops.c (OP_5F00): Correct tracing of accumulators.
+
Tue Oct 15 10:57:50 1996 Michael Meissner <meissner@tiktok.cygnus.com>
* simops.c (OP_5F00): Add support for getpid, kill system calls.
diff --git a/sim/d10v/simops.c b/sim/d10v/simops.c
index e547f9b..50f6230 100644
--- a/sim/d10v/simops.c
+++ b/sim/d10v/simops.c
@@ -2595,8 +2595,8 @@ OP_5F00 ()
for (i = 0; i < 2; i++)
(*d10v_callback->printf_filtered) (d10v_callback, " %.2x%.8lx",
- ((int)(State.a[OP[i]] >> 32) & 0xff),
- ((unsigned long)State.a[OP[i]]) & 0xffffffff);
+ ((int)(State.a[i] >> 32) & 0xff),
+ ((unsigned long)State.a[i]) & 0xffffffff);
(*d10v_callback->printf_filtered) (d10v_callback, " %d %d %d\n",
State.F0 != 0, State.F1 != 0, State.C != 0);