changeset 69:36f1133837d0

Fix disassembly of reg list in MOVEM when the reg list is the destination
author Mike Pavone <pavone@retrodev.com>
date Thu, 20 Dec 2012 09:12:24 -0800
parents 1c9a4052a2c0
children cebd0b5ac7f0
files 68kinst.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/68kinst.c	Thu Dec 20 09:08:13 2012 -0800
+++ b/68kinst.c	Thu Dec 20 09:12:24 2012 -0800
@@ -1172,8 +1172,8 @@
 			bit = 15;
 			dir = -1;
 		} else {
-			reg = 0;
-			bit = 1;
+			dir = 1;
+			bit = 0;
 		}
 		if (need_comma) {
 			strcat(dst, ", ");