Article View: alt.lang.asm
Article #117Re: Identifying Processors
From: Morten Welinder
Date: Mon, 23 Nov 1992 12:27
Date: Mon, 23 Nov 1992 12:27
26 lines
1475 bytes
1475 bytes
denis.giroux@freddy.ersys.edmonton.ab.ca (Denis Giroux) writes:
>TO: all
>I have a question for the assembler gurus out there. Is there an easy way to
>distinguish a 286 processor from a 386, and a 386 from a 486?
Get the program Infoplus and study the source. It is available from
simtel20 and garbo.
In short: It is easy in *real* mode, impossible in protected mode (which
includes virtual-8086-mode).
Don't flame me for this; think it over instead. The 486 manual gives
states that all the flag-handling instructions may trap in protected
mode. Also the BSwap instructions (etc.) may be emulated on a 386.
Interrupts cannot be stopped so timing is unrealiable.
A 486DX can be distinguished from a 386 by checking the type of
co-processor. A RapidCad would show as 486, though (I think!).
--
-------------------------------------------------------------
Signature file under construction -- Drive carefully, please!
-------------------------------------------------------------
Morten Welinder, terra@diku.dk
Technical Details
Message-ID:
<1992Nov23.122703.12623@odin.diku.dk>Path:
arc1-ca.pugleaf.net!sparky!uunet!mcsun!sunic!dkuug!diku!terraReferences:
<98.749.uupcb@freddy.ersys.edmonton.ab.ca>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!sunic!dkuug!diku!terra From: terra@diku.dk (Morten Welinder) Newsgroups: alt.lang.asm Subject: Re: Identifying Processors Message-ID: <1992Nov23.122703.12623@odin.diku.dk> Date: 23 Nov 92 12:27:03 GMT References: <98.749.uupcb@freddy.ersys.edmonton.ab.ca> Sender: terra@rimfaxe.diku.dk Organization: Department of Computer Science, U of Copenhagen Lines: 26