Advertisement

FPU detection

Started by November 01, 2000 10:47 PM
1 comment, last by Tolik 24 years, 2 months ago
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)?
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.
To the vast majority of mankind, nothing is more agreeable than to escape the need for mental exertion... To most people, nothing is more troublesome than the effort of thinking.
Advertisement
Wow, you mean there''s still a 486 processor running somewhere? =)

This topic is closed to new replies.

Advertisement