From 597a4c2fff52c16a6b69a4c1573a038b36a1cf6a Mon Sep 17 00:00:00 2001 From: Mike Pavone Date: Thu, 20 Dec 2012 09:12:24 -0800 Subject: Fix disassembly of reg list in MOVEM when the reg list is the destination --- 68kinst.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '68kinst.c') diff --git a/68kinst.c b/68kinst.c index 8603259..a19e12b 100644 --- a/68kinst.c +++ b/68kinst.c @@ -1172,8 +1172,8 @@ int m68k_disasm_movem_op(m68k_op_info *decoded, m68k_op_info *other, char *dst, bit = 15; dir = -1; } else { - reg = 0; - bit = 1; + dir = 1; + bit = 0; } if (need_comma) { strcat(dst, ", "); -- cgit v1.2.3