CPU brand: Intel(R) Pentium(R) 4 CPU 2.40GHz
We need to invoke the CPUID instruction three times with different integer constants in EAX, and copy the 16 bytes from EAX, EBX, ECX and EDX into a char buffer. So the brand name can be 48 characters long; and in my case, it is padded by spaces.

0 comments:
Post a Comment