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.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/sim/rx/rx.c b/sim/rx/rx.c
index fc12948..19b896b 100644
--- a/sim/rx/rx.c
+++ b/sim/rx/rx.c
@@ -298,6 +298,14 @@ static unsigned char *get_byte_base;
static RX_Opcode_Decoded **decode_cache_base;
static SI get_byte_page;
+void
+reset_decoder (void)
+{
+ get_byte_base = 0;
+ decode_cache_base = 0;
+ get_byte_page = 0;
+}
+
static inline void
maybe_get_mem_page (SI tpc)
{