Thread: movep on 68060
View Single Post
Old 28 June 2016, 14:47   #2
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 42
Posts: 19,559
Quote:
Originally Posted by BlankVector View Post
Code:
00035AFA 03c9 fff9                [ MVPRM.L D1,(A1, -$0007) == $007fcb1b ]
00035AFC fff9                     ILLEGAL
[ opcode ] means instruction is not supported by selected CPU and it is by design to only increase PC by 2 in this case (because most likely reason was attempt to dissemle from mid instruction)

Quote:
3) When "Unimplemented CPU emu" is checked, the program fails with "Illegal instruction". I didn't expect that, because as far a I understand that checkbox should have emulated the missing movep.
This looks like an incomplete missing instructions emulation, WinUAE should be fixed for that.
Works for me. If "umimplemented CPU emu" is ticked, MOVEP.L executes normally.

Quote:
4) When "Unimplemented CPU emu" is not checked, it fails with an exception number 61 "Unimplemented Integer Instruction". I don't know if this is accurate or not, intuitively I would have expected a classic "Illegal Instruction Exception".
This is correct. 68060 separates between invalid and unimplemented instructions (=emulated by Motorola 68060 software package, included with 68060.library)
Toni Wilen is online now  
 
Page generated in 0.08488 seconds with 9 queries