How to get CPU Serial Number

How to get CPU Serial Number

I'm looking for a pointer toarticle/document that explains how I can read the CPU serial number. I'm interested in Assembler code.

Can somebody help me ?

Thanks in advance

Mario

4 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

Searching the internet I found this document:
http://www.8191.net/projects/uname/Intel_cpuid.pdf

it's very interesting.

Now I have a second question: what level of MASM is needed to use CPUID ?

Thanks again for your support.

Mario

Greetings from Intel Software Network Support.

Yes, Application Note 485, Intel Processor Identification and the CPUID Instruction, is also available directly from the Intel web site: http://www.intel.com/support/processors/sb/cs-009861.htm.

We also recommend the CPUID section of the IA-32 Intel Architecture Software Developers Manuals, vol. 2, Instruction Set Reference: http://developer.intel.com/design/Pentium4/documentation.htm

To learn how to use the CPUID instruction to read the Processor Serial Number whenthere is a serial number present, see AP-909, Intel Processor Serial Number: http://www.intel.com/design/pentiumiii/applnots/245125.htm

Looking here*, it appears that versions of MASM* dating back to 1995 have been capable of dealing with the CPUID instruction. However, keep in mind that only the Pentium III Xeon, Mobile Pentium III and Pentium III processors support the processor serial number feature introduced by the Pentium III processor. No other Intel processor supports the processor serial number feature:
http://support.intel.com/support/processors/pentium4/sb/CS-001641-prd483.htm

It looks like the Microsoft Macro Assembler (MASM) version 6.14 patchwas the one being made available for compatibility with the Intel Pentium III processor at the time.

For additional Processor Serial Number (PSN) information from support.intel.com,please see:
http://support.intel.com/support/processors/pentiumiii/sb/CS-007579.htm
http://support.intel.com/support/processors/pentiumiii/sb/CS-007582.htm

You might also be interested in this Gamasutra* articlewritten about coding forthe Pentium III processor when it first came out.

Regards,

Lexi S.
Intel Software Network Support
http://www.intel.com/software/
Contact us

Message Edited by intel.software.network.support on 11-15-2005 08:57 PM

First of all thanks a lot for your support. I got all these valuable documents for my analysis.

Now I have the last question about the assembler.

Why, when I look for assembly, I see that a lot of people use MASM dated 1993, 1994 1995 ??? all very old version of assembler. May be because not much people use assembler or because many of them prefer to use a mix of C/C++ and "inline" assembler or other ?

Then, the final question is: what is, today, the "state of art" assembler compiler for Intel CPU from Intel or other sw vendor ?

thanks again,

Mario

Login to leave a comment.