home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!dtix!darwin.sura.net!ftlsw.telematics.com!ted
- From: ted@telematics.com (Ted Goldblatt)
- Newsgroups: comp.sys.m68k
- Subject: Which type of `040 (was: Re: Which processor? )
- Message-ID: <1992Sep15.165755.17994@telematics.com>
- Date: 15 Sep 92 16:57:55 GMT
- References: <1992Sep1.143752.1090@msus1.msus.edu> <334@blars.UUCP> <THOMAS.TORNBLOM.92Sep3170628@beck.nexus.comm.se>
- Sender: root@telematics.com
- Organization: Telematics Intl., Inc.; Ft. Lauderdale, FL
- Lines: 23
- Nntp-Posting-Host: sirius.ftlsw.telematics.com
-
- Along the lines of this thread, I need to be able to distinguish
- between a 68040, 68LC040, and (ideally) a 68EC040.
-
- Having determined that the processor is _some_ type of `040 (by
- the scheme earlier in this thread), is it reasonable to:
-
- try a FNOP; if it doesn't generate a line-F, I'm a (real :-)) 68040
- else try a MOVEC MMUSR,d0; if it doesn't generate an illegal, I'm a
- 68LC040, else I'm a 68EC040
-
- Is this correct? Is there a better approach (or better choice of
- instructions to use)?
-
- Does anyone know why Moto didn't bother to put a configuration
- register into the 68k architecture so you could find these
- things out easily? :-)
-
- Thanx!
-
- ted
- --
- Ted Goldblatt ted@telematics.com (305) 351-4367
- Telematics Intl., Inc. Ft. Lauderdale, FL
-