Back to results
US 5,490,267 AGranted
Method for distinguishing between a 386-type central processing unit and A 286-type central processing unit
AssigneeCompaq Computer Corporation
InventorWilliam C. Crosswy
Life of this patent
Estimating the term…
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.
Claims2
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.
1 more element
Dependencies are inferred from the claim text.