Article View: pl.comp.lang.asm
Article #1451Re: CPUID
From: Paweł Pawlak
Date: Tue, 21 Aug 2007 15:36
Date: Tue, 21 Aug 2007 15:36
27 lines
1989 bytes
1989 bytes
Bogdan (bogdro) pisze: > Wojtas pisze: >> Dla testu wymodziłem coś takiego: >> >> procedure IsHTT; >> var >> _eax : Integer; >> begin >> asm >> push ebx >> mov eax, 1 >> cpuid >> mov _eax, eax > > mov _edx, edx > >> pop ebx >> end; >> if (_eax and $04000000) = $04000000 then > > if ( _edx and $01000000 ) = $01000000 then Ja bym obstawiał, że zapalony bit numer 28 jest reprezentowany przez wartość $10000000 a nie $01000000 Pozdrawiam, Morris
Technical Details
Message-ID:
<faf13u$fma$1@inews.gazeta.pl>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!not-for-mailReferences:
<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> <fa44g4$3b3$1@news.onet.pl> <1187355063.066173.227320@a39g2000hsc.googlegroups.com> <fa8uud$5f2$1@inews.gazeta.pl>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!not-for-mail From: Paweł Pawlak <morr!s@elys!um.pl> Newsgroups: pl.comp.lang.asm Subject: Re: CPUID Date: Tue, 21 Aug 2007 17:36:24 +0200 Organization: "Portal Gazeta.pl -> http://www.gazeta.pl" Lines: 27 Message-ID: <faf13u$fma$1@inews.gazeta.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> <fa44g4$3b3$1@news.onet.pl> <1187355063.066173.227320@a39g2000hsc.googlegroups.com> <fa8uud$5f2$1@inews.gazeta.pl> NNTP-Posting-Host: epc92.neoplus.adsl.tpnet.pl Mime-Version: 1.0 X-Trace: inews.gazeta.pl 1187710910 16074 83.20.44.92 (21 Aug 2007 15:41:50 GMT) X-Complaints-To: usenet@agora.pl NNTP-Posting-Date: Tue, 21 Aug 2007 15:41:50 +0000 (UTC) X-User: m_knox X-Antivirus: avast! (VPS 000767-2, 2007-08-20), Outbound message In-Reply-To: <fa8uud$5f2$1@inews.gazeta.pl> X-Antivirus-Status: Clean User-Agent: Thunderbird 2.0.0.0 (Windows/20070326) Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit