Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 (Fortune 01.0d7) 840725; site foros1.UUCP Path: utzoo!linus!decvax!decwrl!amd!fortune!foros1!jr From: jr@foros1.UUCP (John Rogers) Newsgroups: net.micro.68k Subject: detecting processor type (68000/68010/etc) in software? Message-ID: <368@foros1.UUCP> Date: Mon, 22-Oct-84 17:27:21 EDT Article-I.D.: foros1.368 Posted: Mon Oct 22 17:27:21 1984 Date-Received: Tue, 23-Oct-84 06:09:20 EDT Distribution: net Lines: 15 Hi. I'm interested in how to detect the processor type (MC68000, MC68010, or whatever) in a user mode program (in assembler language, of course). I realize that I could execute one of the new instructions and see if I get trapped, but that doesn't sound too efficient (especially since I'm thinking about using this in some library subroutines). I don't have a MC68010 manual right now, so this might be an RTFM question; sorry if it is. Thanks in advance, as they say... Happy hacking! -- JR (John Rogers) ...ihnp4!fortune!foros1!jr also fortune!jr and proper!jr