22. November 2024, 14:02
253 // values of signal:254 // SIGILL : opcodes which are illegal255 // SIGFPE : unmasked FP exception before WAIT or non-control instruction256 // SIGSEGV : access data beyond segment violation257 switch (signal) {258 case SIGFPE:259 if (fpu_cpu_ptr->cr0.ne == 0) {260 // MSDOS compatibility external interrupt (IRQ13)261 BX_INFO (("math_abort: MSDOS compatibility FPU exception"));262 263 DEV_pic_raise_irq(13);264 return;265 }266 fpu_cpu_ptr->exception(BX_MF_EXCEPTION, 0, 0);267 // execution does not reach here
unmasked FP exception before WAIT or non-control instruction