Emu68
Emu68 copied to clipboard
M68k_LINEF.c Supervisor instructions
As it currently is supervisor instructions do not throw a VECTOR_PRIVILEGE_VIOLATION when the supervisor bit is unset. During runtime prior to execution of CINV, CPUSH, FSAVE, FRESTORE, PFLUSH, and PTEST the SR_S bit should be tested and depending on it's state should continue execution of the instruction OR throw previously mentioned Exception.