How to get the CPU information, how many software can be used to determine the type of computer that is running. For example, Photoshop 5 can detect whether the CPU has MMX support and calls different processing functions. "Jinshan word tyrant" found that MMX support will generate translational translation prompts, many software can distinguish between Intel, Cyrix, AMD CPU ... now, Let me make a thin way to get the CPU information in your own program. Mainly utilized using CPUID assembly instructions (machine code: 0fh A2H, if your compiler does not support CPUID instructions, only EMIT machine code) This instruction can be used as the CPU, CPU, CYRIX M1 or more, CPU, AMD AM486 CPU (1) takes the CPU OEM string, judge the CPU manufacturer first let Eax = 0, then call the CPUID INEL's CPU will return: EBX: 756E6547H 'Genu' EDX: 49656E69H 'inei' ECX: 6C65746EH 'NTEL' EBX , EDX, ECX will be "Genuineintel", real Intel. Cyrix's CPU will return: EBX: 43797269H EDX: 78496E73H ECX: 74656164H "Cyrixinstead", "Cyrix is replaced". AMD's CPU will return: EBX: 41757468H EDX: 656E7469H ECX: 63414D44H "Authenticamd", trusted AMD. In Windows98, use the right to click "My Computer", select "Attribute-General", and you can see the CPU OEM string on the calculation. (2) CPU is a few 86. Whether to support MMX first let Eax = 1, then call the 8 to 11 bits of CPUID EAX to show that it is a few 86 3 - 386 4 - I486 5 - Pentium 6 - Pentium Pro Pentium II 2 - DUAL Processors Edx 0th: 23rd place without FPU EDX: Does the CPU support IA MMX, it is very important! If you want to use the 57 new instructions, check this one first, or wait for the WINDOWS "The program executes the non-normal instruction, will be closed". (3) Specializing in the P6 architecture first let Eax = 1, then call CPUID If Al = 1, Pentium Pro or Pentium II (4) Specially detect AMD's CPU information first let EAX = 80000001H, then call CPUID if EAX = 51h , Is AMD K5 if eax = 66h, what is the sign of K6 K7, only waiting for everyone to get the core of K7.