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
Searching the internet I found this document:
it's very interesting.
Now I have a second question: what level of MASM is needed to use CPUID ?
Thanks again for your support.
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:
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:
You might also be interested in this Gamasutra* articlewritten about coding forthe Pentium III processor when it first came out.
Intel Software Network Support
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 ?