diff --git a/src/m68k.rs b/src/m68k.rs index dfaa9e5..64e276f 100644 --- a/src/m68k.rs +++ b/src/m68k.rs @@ -747,6 +747,11 @@ impl M68K { } else if last_cycle.is_err() { self.stored_mem_cycles.pop(); } + } if format == 0 { + // Nothing extra needed + } else { + self.trap(14)?; + return Err(InsExecError::AbnormalTrap); } self.sr = orig_sr; }