[comp.os.msdos.programmer] Determining CPU type

david@otago.ac.nz (David Harris) (01/25/91)

Anyone know offhand the techniques used for determining the
CPU of the machine you're running on (86, 286, 386)? I know
it has to do with executing certain combinations of instructions
then testing the results - I'm interested in knowing the details.

-- David --

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
-- David Harris --                       email: david@otago.ac.nz
Consultant, Computing Services Centre,   phone: (+64) 3-4798598
Otago University, Dunedin, New Zealand.  fax:   (+64) 3-4798577