--- hatari/src/uae-cpu/readcpu.c 2019/04/09 08:47:24 1.1.1.10 +++ hatari/src/uae-cpu/readcpu.c 2019/04/09 08:55:51 1.1.1.12 @@ -7,13 +7,15 @@ * * Adaptation to Hatari by Thomas Huth * - * This file is distributed under the GNU Public License, version 2 or at - * your option any later version. Read the file gpl.txt for details. + * This file is distributed under the GNU General Public License, version 2 + * or at your option any later version. Read the file gpl.txt for details. */ /* 2008/04/26 [NP] Handle sz_byte for Areg as a valid srcmode if current instruction is a MOVE */ /* (e.g. move.b a1,(a0) ($1089)) (fix Blood Money on Superior 65) */ +/* 2014/08/15 [NP] Cancel change from 2008/04/26, sz_byte for Areg is not valid for MOVE, */ +/* 'move.b a1,(a0)' should give an illegal exception */ const char ReadCpu_fileid[] = "Hatari readcpu.c : " __DATE__ " " __TIME__; @@ -527,8 +529,7 @@ static void build_insn (int insn) { srcgather = 0; } -// if (srcmode == Areg && sz == sz_byte) - if (srcmode == Areg && sz == sz_byte && strcmp ( mnemonic , "MOVE" ) != 0 ) // [NP] move.b is valid on 68000 + if (srcmode == Areg && sz == sz_byte) goto nomatch; if (opcstr[pos] != ',')