Loading...
You are not logged-in Login/Register





  • Posts   Search Threads
  • marsacJuly 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


    marsacJuly 12, 2005 11:40 PM PDT
    Rate
     
    Re: How to get CPU Serial Number

    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 SupportJuly 13, 2005 2:41 AM PDT
    Rate
     
    Re: How to get CPU Serial Number

    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


    marsacJuly 13, 2005 3:29 PM PDT
    Rate
     
    Re: How to get CPU Serial Number

    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


Forum jump:  

Intel Software Network Forums Statistics

16,368 users have contributed to 46,338 threads and 163,949 posts to date.

In the past 24 hours, we have 19 new thread(s) 121 new posts(s), and 72 new user(s).

In the past 3 days, the most popular thread for everyone has been Formula for the intersection of straight lines The most posts were made to Take a look at John Burkhard&# The post with the most views is \"-check none\" generates error

Please welcome our newest member bikerepair8


For more complete information about compiler optimizations, see our Optimization Notice.