kstenerud / Musashi

Motorola 680x0 emulator written in C
427 stars 96 forks source link

Fix unimplemented instruction cycles #23

Closed marhel closed 8 years ago

marhel commented 8 years ago

According to the M68000UM, the two unimplemented instruction exceptions both cost 34 cycles, not 4.

Actually, that's a bit of a lie. Table 8-14. Exception Processing Execution Times does not even mention unimplemented instruction exceptions, but section 6.3.6 Illegal and Unimplemented Instructions basically says that unimplemented instructions are just a special case of illegal instructions in that they have separate exception vectors.