diff options
Diffstat (limited to 'sim/rx/rx.c')
-rw-r--r-- | sim/rx/rx.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sim/rx/rx.c b/sim/rx/rx.c index 19b896b..17f5b46 100644 --- a/sim/rx/rx.c +++ b/sim/rx/rx.c @@ -1818,6 +1818,9 @@ decode_opcode () break; case RXO_smovu: +#ifdef CYCLE_ACCURATE + tx = regs.r[3]; +#endif while (regs.r[3] != 0) { uma = mem_get_qi (regs.r[2] ++); @@ -1826,6 +1829,7 @@ decode_opcode () if (uma == 0) break; } + cycles (2 + 3 * (int)(tx / 4) + 3 * (tx % 4)); break; case RXO_shar: /* d = ma >> mb */ |