X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f From: Hans-Bernhard Broeker Newsgroups: comp.os.msdos.djgpp Subject: Re: Ok, I understand. The only reason I was asking about Date: 11 Feb 2002 22:13:08 GMT Organization: Aachen University of Technology (RWTH) Lines: 20 Message-ID: References: <6e0d77f39bba940fee0e0149fb76a996 DOT 62691 AT mygate DOT mailgate DOT org> <5563ab859c72dffdd2ded7c0f0edf714 DOT 62691 AT mygate DOT mailgate DOT org> <200202081742 DOT g18HgL008217 AT envy DOT delorie DOT com> <2dc1f1538db61d5178d96e753468a78a DOT 62691 AT mygate DOT mailgate DOT org> NNTP-Posting-Host: acp3bf.physik.rwth-aachen.de X-Trace: nets3.rz.RWTH-Aachen.DE 1013465588 10077 137.226.32.75 (11 Feb 2002 22:13:08 GMT) X-Complaints-To: abuse AT rwth-aachen DOT de NNTP-Posting-Date: 11 Feb 2002 22:13:08 GMT Originator: broeker@ To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Joel Saunders wrote: > the clobber list is because the place where I got the example > http://www.delorie.com/djgpp/doc/brennan/brennan_att_inline_djgpp.html > had > #define rep_movsl(src, dest, numwords) \ > __asm__ __volatile__ ( \ > "cld\n\t" \ > "rep\n\t" \ > "movsl" \ > : : "S" (src), "D" (dest), "c" (numwords) \ > : "%ecx", "%esi", "%edi" ) That version appeared correct (i.e. GCC accepted it) back when Brennan wrote that tutorial of his. GCC has changed several times since then, and it's those changes that broke this particular code. IOW: you just discovered that this tutorial is outdated. -- Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de) Even if all the snow were burnt, ashes would remain.