🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: CPUID

#1435
From: Michal Schulz
Date: Fri, 17 Aug 2007 09:05
22 lines
1231 bytes
Wiktor S. wrote:

Prawie dobrze, ale...

> function isHTT : boolean; assembler; //nazwa na razie nie ważna
> asm
>   push ebx
>   mov eax,1
>   cpuid
>   bt edx,31

te dwie instrukcje
>   mov al,0     // nie zmieniać na xor ani sub (flagi!)
>   rcl al,1

mozna zamienic na jedna
    setc al

SETx jest obslugiwana od czasow 80386.

-- 
Michal Schulz
Technical Details
Message-ID: <fa3oaf$1df$1@news.onet.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.rmf.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>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.rmf.pl!agh.edu.pl!news.agh.edu.pl!news.onet.pl!not-for-mail
From: Michal Schulz <michal.schulz@onet.eu>
Newsgroups: pl.comp.lang.asm
Subject: Re: CPUID
Date: Fri, 17 Aug 2007 11:05:55 +0200
Organization: Onet.pl
Lines: 23
Message-ID: <fa3oaf$1df$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>
NNTP-Posting-Host: 194.95.192.23
Mime-Version: 1.0
X-Trace: news.onet.pl 1187341455 1455 194.95.192.23 (17 Aug 2007 09:04:15 GMT)
X-Complaints-To: usenet@news.onet.pl
NNTP-Posting-Date: Fri, 17 Aug 2007 09:04:15 +0000 (UTC)
X-Sender: 9wUCXNAIfoHJ12NLiW1DhOd3DPBVeoC1
User-Agent: KNode/0.10.5
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit