Method for distinguishing between a 386-type central processing unit and A 286-type central processing unit
First Claim
Patent Images
1. A method of operating an integrated circuit logic device to determine its type by executing a computer program, said logic device selected from a group of logic device types, said method comprising the steps of:
- performing a load operation to a register of said logic device with a selected data word, said register having a certain bit therein which is writable by side load operation for logic devices of a first type of said group of logic device types, and which is not writable by said load operation for logic devices of a second type of said group of logic device types; and
testing said certain bit of said register to determine if said certain bit is writable by comparting said certain bit with the corresponding bit in said selected data word;
wherein said logic device is identified as of said first type or of said second type based on the result of said testing step.
0 Assignments
0 Petitions
Accused Products
Abstract
A method is disclosed for distinguishing between the Intel 80386 and 80286 CPUs. Bits 12, 13, and 14 of the 386 flags word in the real mode are always zero in the 286 architecture and cannot be set, but can be set to a one on the 386. The method includes the steps of attempting to set any of those bits and examining the results. A source code listing is attached.
32 Citations
2 Claims
-
1. A method of operating an integrated circuit logic device to determine its type by executing a computer program, said logic device selected from a group of logic device types, said method comprising the steps of:
-
performing a load operation to a register of said logic device with a selected data word, said register having a certain bit therein which is writable by side load operation for logic devices of a first type of said group of logic device types, and which is not writable by said load operation for logic devices of a second type of said group of logic device types; and testing said certain bit of said register to determine if said certain bit is writable by comparting said certain bit with the corresponding bit in said selected data word; wherein said logic device is identified as of said first type or of said second type based on the result of said testing step. - View Dependent Claims (2)
-
Specification