summaryrefslogtreecommitdiff
path: root/m68k_to_x86.c
diff options
context:
space:
mode:
authorMike Pavone <pavone@retrodev.com>2012-12-27 23:00:11 -0800
committerMike Pavone <pavone@retrodev.com>2012-12-27 23:00:11 -0800
commit923af7c3b7caeba2cc319dbec6ef4688849a299a (patch)
treec394eb4769d509529f00f7511a1173ba64b45a42 /m68k_to_x86.c
parent6609f3fd72422469c6bf4ebc6a6630ce25a4796b (diff)
Use unsigned comparisons for address decoding, exit when we hit an unhandled addressing mode for jmp
Diffstat (limited to 'm68k_to_x86.c')
-rw-r--r--m68k_to_x86.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/m68k_to_x86.c b/m68k_to_x86.c
index 05b65b4..a07bb07 100644
--- a/m68k_to_x86.c
+++ b/m68k_to_x86.c
@@ -1376,6 +1376,7 @@ uint8_t * translate_m68k_jmp(uint8_t * dst, m68kinst * inst, x86_68k_options * o
break;
default:
printf("address mode %d not yet supported (jmp)\n", inst->src.addr_mode);
+ exit(1);
}
return dst;
}