🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.asm
Article #1453

Re: CPUID

#1453
From: Wiktor S.
Date: Fri, 17 Aug 2007 14:46
31 lines
1782 bytes
>>  dziala u mnie. Masz jeszcze jakis problem?

> Tak - u mnie obie funkcje zwracają 1!

>> Pytania?

> Tak. Dlaczego tak się dzieje? Mój procesor nie ma HTT.

nie ma cudów.

function cpuid:longword;
begin
  asm
    push ebx
    mov eax, 1
    cpuid
    mov eax,edx
  end;
end;

...

edit1.text:=inttostr(cpuid);


podaj jaką liczbę ta funkcja zwraca.



-- 
Azarien
Technical Details
Message-ID: <fa4cb0$nna$1@news.onet.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!newsfeed.pionier.net.pl!newsfeed.silweb.pl!agh.edu.pl!news.agh.edu.pl!news.onet.pl!not-for-mail
References: <1187283337.535618.34200@w3g2000hsg.googlegroups.com> <fa22h7$dhj$1@news.onet.pl> <1187302782.224820.88620@19g2000hsx.googlegroups.com> <fa3o0c$10s$1@news.onet.pl> <fa3oaf$1df$1@news.onet.pl> <fa3q1a$6th$1@news.onet.pl> <slrnfcar1i.30s.wojciech_mula@cat.tac> <fa3vc4$ktc$1@news.onet.pl> <1187350008.273281.101010@r34g2000hsd.googlegroups.com> <1187350422.704355.176700@o80g2000hse.googlegroups.com> <fa42mp$trk$1@news.onet.pl> <1187353080.347007.243840@19g2000hsx.googlegroups.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!newsfeed.pionier.net.pl!newsfeed.silweb.pl!agh.edu.pl!news.agh.edu.pl!news.onet.pl!not-for-mail
From: "Wiktor S." <SPAM.wswiktor@poczta.SPAM.fm.SPAM>
Newsgroups: pl.comp.lang.asm
Subject: Re: CPUID
Date: Fri, 17 Aug 2007 16:46:02 +0200
Organization: Onet.pl
Lines: 33
Message-ID: <fa4cb0$nna$1@news.onet.pl>
References: <1187283337.535618.34200@w3g2000hsg.googlegroups.com>   <fa22h7$dhj$1@news.onet.pl>   <1187302782.224820.88620@19g2000hsx.googlegroups.com>   <fa3o0c$10s$1@news.onet.pl>   <fa3oaf$1df$1@news.onet.pl>   <fa3q1a$6th$1@news.onet.pl>   <slrnfcar1i.30s.wojciech_mula@cat.tac>   <fa3vc4$ktc$1@news.onet.pl>   <1187350008.273281.101010@r34g2000hsd.googlegroups.com>   <1187350422.704355.176700@o80g2000hse.googlegroups.com>   <fa42mp$trk$1@news.onet.pl> <1187353080.347007.243840@19g2000hsx.googlegroups.com>
NNTP-Posting-Host: 76.174.wmc.com.pl
Mime-Version: 1.0
X-Trace: news.onet.pl 1187361953 24298 87.250.174.76 (17 Aug 2007 14:45:53 GMT)
X-Complaints-To: usenet@news.onet.pl
NNTP-Posting-Date: Fri, 17 Aug 2007 14:45:53 +0000 (UTC)
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3138
X-Sender: 63e3folRCjcGWUjNfLSN0w==
X-Newsreader: Microsoft Outlook Express 6.00.2900.3138
X-Priority: 3
X-MSMail-Priority: Normal
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit