I wanted to catch invalid opcode exceptions brought up by the use of FPU instruction when no FPU is currently present. This way, I (successfully) compiled bochs without support of the FPU, but when it comes to execute this :
Code: Select all
wait
fninit
Code: Select all
[tick=(00001205525)][eip=(001019ab)][type=(i)][dev=[CPU ] FWAIT: requred FPU, use --enable-fpu
[tick=(00001205526)][eip=(001019ad)][type=(i)][dev=[CPU ] FNINIT: required FPU, configure --enable-fpu
My question is the following : what will happen on a real computer with no FPU at all ?
Will it hang on the invalid opcode exception handler or will it go further ?