aboutsummaryrefslogtreecommitdiff
path: root/sim/rx/rx.c
diff options
context:
space:
mode:
Diffstat (limited to 'sim/rx/rx.c')
-rw-r--r--sim/rx/rx.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sim/rx/rx.c b/sim/rx/rx.c
index 888aa86..68329e2 100644
--- a/sim/rx/rx.c
+++ b/sim/rx/rx.c
@@ -1385,9 +1385,9 @@ decode_opcode ()
{
regs.r[3] --;
umb = mem_get_si (get_reg (1));
+ regs.r[1] += 4;
if (umb != uma)
break;
- regs.r[1] += 4;
}
break;
case RX_Word:
@@ -1396,9 +1396,9 @@ decode_opcode ()
{
regs.r[3] --;
umb = mem_get_hi (get_reg (1));
+ regs.r[1] += 2;
if (umb != uma)
break;
- regs.r[1] += 2;
}
break;
case RX_Byte:
@@ -1407,9 +1407,9 @@ decode_opcode ()
{
regs.r[3] --;
umb = mem_get_qi (regs.r[1]);
+ regs.r[1] += 1;
if (umb != uma)
break;
- regs.r[1] += 1;
}
break;
default: