Mercurial > repos > blastem
comparison 68kinst.c @ 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 | d212e0cd0b7e |
comparison
equal
deleted
inserted
replaced
68:1c9a4052a2c0 | 69:36f1133837d0 |
---|---|
1170 if (decoded->addr_mode == MODE_REG) { | 1170 if (decoded->addr_mode == MODE_REG) { |
1171 if (other->addr_mode == MODE_AREG_PREDEC) { | 1171 if (other->addr_mode == MODE_AREG_PREDEC) { |
1172 bit = 15; | 1172 bit = 15; |
1173 dir = -1; | 1173 dir = -1; |
1174 } else { | 1174 } else { |
1175 reg = 0; | 1175 dir = 1; |
1176 bit = 1; | 1176 bit = 0; |
1177 } | 1177 } |
1178 if (need_comma) { | 1178 if (need_comma) { |
1179 strcat(dst, ", "); | 1179 strcat(dst, ", "); |
1180 oplen = 2; | 1180 oplen = 2; |
1181 } else { | 1181 } else { |