aboutsummaryrefslogtreecommitdiff
path: root/sim/mn10300/am33.igen
diff options
context:
space:
mode:
Diffstat (limited to 'sim/mn10300/am33.igen')
-rw-r--r--sim/mn10300/am33.igen2
1 files changed, 1 insertions, 1 deletions
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