aboutsummaryrefslogtreecommitdiff
path: root/sim
diff options
context:
space:
mode:
Diffstat (limited to 'sim')
-rw-r--r--sim/mn10300/ChangeLog4
-rw-r--r--sim/mn10300/am33.igen2
2 files changed, 5 insertions, 1 deletions
diff --git a/sim/mn10300/ChangeLog b/sim/mn10300/ChangeLog
index bd49874..f18c31f 100644
--- a/sim/mn10300/ChangeLog
+++ b/sim/mn10300/ChangeLog
@@ -1,3 +1,7 @@
+2000-04-25 Alexandre Oliva <aoliva@cygnus.com>
+
+ * am33.igen (inc4 Rn): Use genericAdd so as to modify flags.
+
2000-04-09 Alexandre Oliva <aoliva@cygnus.com>
* am33.igen: Make SP-relative offsets unsigned. Add `*am33' for
diff --git a/sim/mn10300/am33.igen b/sim/mn10300/am33.igen
index c80d91d..8465c10 100644
--- a/sim/mn10300/am33.igen
+++ b/sim/mn10300/am33.igen
@@ -584,7 +584,7 @@
PC = cia;
dstreg = translate_rreg (SD_, RN0);
- State.regs[dstreg] += 4;
+ genericAdd (4, dstreg);
}
// 1111 1001 1101 1000 Rm Rn; cmp Rm,Rn