• Advertisement

Archived

This topic is now archived and is closed to further replies.

FPU detection

This topic is 6319 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I know how to detect FPU, using CPUID instruction, but with instruction supports by 486DX4 or better. Anyone, know to detect FPU in older processors(386, 486SX, 486DX)?

Share this post


Link to post
Share on other sites
Advertisement
to detect the FPU on a 386/486 what you need to do is write to the FPU status register and then read the status register back.
the FNINIT and FNSTENV instructions.

Share this post


Link to post
Share on other sites

  • Advertisement