Revert the previous fix and fix it again, but properly.
svn path=/trunk/; revision=64671
else
{
/* Only a few of these instructions have any meaning on a 487 */
- switch ((ModRegRm.SecondRegister << 3) | ModRegRm.Register)
+ switch ((ModRegRm.Register << 3) | ModRegRm.SecondRegister)
{
/* FCLEX */
- case 0x42:
+ case 0x22:
{
/* Clear exception data */
State->FpuStatus.Ie =
}
/* FINIT */
- case 0x43:
+ case 0x23:
{
/* Restore the state */
State->FpuControl.Value = FAST486_FPU_DEFAULT_CONTROL;
}
/* FENI */
- case 0x40:
+ case 0x20:
/* FDISI */
- case 0x41:
+ case 0x21:
{
/* These do nothing */
break;