Forum Jump

Select Group :
Select Forum :
Sorted By :
Sort Order :
From The :
 
Thread Tools  Search this thread 
marsac
July 12, 2005 6:00 PM PDT
How to get CPU Serial Number
I'm looking for a pointer to article/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
marsac
July 12, 2005 11:40 PM PDT
Rate
 
#1
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

Intel Software Network Support
Total Points:
3,808
Status Points:
3,308
Brown Belt
July 13, 2005 2:41 AM PDT
Rate
 
#2
Greetings from Intel(R) Software Network Support. 
 
Yes, Application Note 485, Intel(R) 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(R) Architecture Software Developer’s 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 when there is a serial number present, see AP-909, Intel(R) 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 patch was the one being made available for compatibility with the Intel(R) Pentium(R) 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* article written about coding for the Pentium(R) III processor when it first came out.
 
Regards,
 
Lexi S.
Intel(R) Software Network Support

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

marsac
July 13, 2005 3:29 PM PDT
Rate
 
#3 Reply to #2
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




Intel Software Network Forums Statistics

8472 users have contributed to 31603 threads and 100653 posts to date.
In the past 24 hours, we have 31 new thread(s) 112 new posts(s), and 166 new user(s).

In the past 3 days, the most popular thread for everyone has been gemm(A,A,A) like possible? The most posts were made to gemm(A,A,A) like possible? The post with the most views is Dear Steve, excuse me for a d

Please welcome our newest member Edwin B. Ramayya