diff options
author | Mike Pavone <pavone@retrodev.com> | 2013-01-26 01:33:32 -0800 |
---|---|---|
committer | Mike Pavone <pavone@retrodev.com> | 2013-01-26 01:33:32 -0800 |
commit | f441792c084b79a77f677243342ed0cb6336e92d (patch) | |
tree | 121516a0064a8ae0537a9628bfa49dc9790b71a6 /68kinst.c | |
parent | 85164f4483132a3db4890defa59f6851a0f765fe (diff) |
Tweaks to make blastem compatible with m68k-tester
Diffstat (limited to '68kinst.c')
-rw-r--r-- | 68kinst.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -854,6 +854,10 @@ uint16_t * m68k_decode(uint16_t * istream, m68kinst * decoded, uint32_t address) decoded->src.params.immed = immed; break; case MOVEQ: + if (*istream & 0x100) { + decoded->op = M68K_INVALID; + return start+1; + } decoded->op = M68K_MOVE; decoded->variant = VAR_QUICK; decoded->extra.size = OPSIZE_LONG; |