From bfa8561f01cf5dcfe9e2d6110c37da70b1ac19c4 Mon Sep 17 00:00:00 2001 From: Alexandre Oliva Date: Tue, 25 Apr 2000 09:48:40 +0000 Subject: [PATCH] * am33.igen (inc4 Rn): Use genericAdd so as to modify flags. --- sim/mn10300/ChangeLog | 4 ++++ sim/mn10300/am33.igen | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/sim/mn10300/ChangeLog b/sim/mn10300/ChangeLog index bd49874f0e7..f18c31fbfed 100644 --- a/sim/mn10300/ChangeLog +++ b/sim/mn10300/ChangeLog @@ -1,3 +1,7 @@ +2000-04-25 Alexandre Oliva + + * am33.igen (inc4 Rn): Use genericAdd so as to modify flags. + 2000-04-09 Alexandre Oliva * am33.igen: Make SP-relative offsets unsigned. Add `*am33' for diff --git a/sim/mn10300/am33.igen b/sim/mn10300/am33.igen index c80d91d5f11..8465c10f1d0 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 -- 2.30.2