From bfa8561f01cf5dcfe9e2d6110c37da70b1ac19c4 Mon Sep 17 00:00:00 2001 From: Alexandre Oliva Date: Tue, 25 Apr 2000 09:48:40 +0000 Subject: * am33.igen (inc4 Rn): Use genericAdd so as to modify flags. --- sim/mn10300/am33.igen | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sim/mn10300/am33.igen') 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 -- cgit v1.1