summaryrefslogtreecommitdiff
path: root/68kinst.c
diff options
context:
space:
mode:
authorMike Pavone <pavone@retrodev.com>2012-12-20 09:12:24 -0800
committerMike Pavone <pavone@retrodev.com>2012-12-20 09:12:24 -0800
commit597a4c2fff52c16a6b69a4c1573a038b36a1cf6a (patch)
treef355f7aaef1f9431ab1408f0a2ffe3ec8fea6f63 /68kinst.c
parent4b314e7e0cd5962141158ecd5ffcf01424a4ba79 (diff)
Fix disassembly of reg list in MOVEM when the reg list is the destination
Diffstat (limited to '68kinst.c')
-rw-r--r--68kinst.c4
1 files changed, 2 insertions, 2 deletions
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, ", ");