From: bukinm AT inp DOT nsk DOT su (Michael Bukin) Newsgroups: comp.os.msdos.djgpp Subject: Re: At inline assemble.. Date: Mon, 21 Apr 1997 11:47:39 GMT Organization: BINP SD RAS Lines: 21 Message-ID: <335c51d7.6119925@news-win.inp.nsk.su> References: <5jel72$d9q$1 AT usenet DOT kornet DOT nm DOT kr> <335b1224 DOT 16851577 AT news-win DOT inp DOT nsk DOT su> <5jf367$ler$1 AT usenet DOT kreonet DOT re DOT kr> Reply-To: bukinm AT inp DOT nsk DOT su NNTP-Posting-Host: csd-bsdi.inp.nsk.su Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk On 21 Apr 1997 06:58:15 GMT, doing AT soback DOT kornet DOT nm DOT kr wrote: > > Michael Bukin (bukinm AT inp DOT nsk DOT su) wrote: > > : inline void > : Test (int _count) > : { > : __asm__ volatile ("loop ." > : : : "c" (_count) : "%ecx"); > : } > > Thanks for you reply. The example was made too hurry. ^^; So I coudn't > check "g" (count) routine. But I didn't mean Referencing current address. > I want to use label in inline assembly with -O3 option. Use local labels in assembler (info as symbols "symbol names", look at 'Local Symbol Names'). __asm__ volatile ("0:\n\tloop 0b" : : "c" (_count) : "%ecx");