From: Hans-Bernhard Broeker Newsgroups: comp.os.msdos.djgpp Subject: Re: Need help for rdtsc inline asm Date: 19 Jun 2002 15:14:11 GMT Organization: Aachen University of Technology (RWTH) Lines: 17 Message-ID: References: NNTP-Posting-Host: acp3bf.physik.rwth-aachen.de X-Trace: nets3.rz.RWTH-Aachen.DE 1024499651 3715 137.226.32.75 (19 Jun 2002 15:14:11 GMT) X-Complaints-To: abuse AT rwth-aachen DOT de NNTP-Posting-Date: 19 Jun 2002 15:14:11 GMT Originator: broeker@ To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com billy chen wrote: > 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 ? Pardon? Could you please split that last question into smaller, intelligible pieces for us? As is, it's essentially impossible to understand what the question actually is. -- Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de) Even if all the snow were burnt, ashes would remain.