delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/02/13/20:42:23

Date: Mon, 14 Feb 2000 06:51:20 +0500 (MVT)
From: Prashant TR <prashant_tr AT yahoo DOT com>
X-Sender: prashant_tr AT midpec DOT com
To: Newline <front777 AT usa DOT net>
cc: djgpp AT delorie DOT com
Subject: Re: Reading Sytstem info
In-Reply-To: <883d3u$v4n$1@news0.skynet.be>
Message-ID: <Pine.LNX.4.10.10002140636290.972-100000@midpec.com>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
Errors-To: dj-admin AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Sat, 12 Feb 2000, Newline wrote:

> I would like to read something like eg serial number so that i can identify
> the PC.

movl $3, %eax
cpuid

This should get you the serial no. hopefully. I don't have a PIII, but I
guess this should work (Don't do this on anything but PIII).


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019