From: "billy chen" Newsgroups: comp.os.msdos.djgpp Subject: Need help for rdtsc inline asm Date: Tue, 18 Jun 2002 16:20:04 -0400 Organization: . Message-ID: X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 X-Complaints-To: newsabuse AT supernews DOT com Lines: 15 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Hi everyone, I try to write an inline asm code for getting the time stamp counter a 64 bits will store at edx:eax when rdtsc is called. Hoever I could not get to working by passing the compiler not allow the compiler (gcc 2.95.2 (djgpp 2.03)) to follow the asm code for me, even I am using asm volatile and looks like the gas did not know how to translate the rdtsc code to machine ? Could some one help on this ? TIA billyc