From: jshopREMOVE AT voicenet DOT com (John) Newsgroups: comp.os.msdos.djgpp Subject: Re: #define inline asm macros, inline asm labels Message-ID: <35ff2f65.134838@netnews.voicenet.com> References: <35FE2184 DOT 6F34 AT hotmail DOT com> Lines: 19 Date: Wed, 16 Sep 1998 03:25:35 GMT NNTP-Posting-Host: 207.103.116.83 NNTP-Posting-Date: Tue, 15 Sep 1998 23:25:48 EDT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk On Tue, 15 Sep 1998 09:12:52 +0100, John Simon Churchill wrote: >Hello, >I am trying to write some fast inline functions and would like to know >how > a: you can use labels in #define macros when using inline asm > > b: you can use labels in normally declared inline functions so that > they are relative to the eip, ie. the compiler wont complain >about > duplicate labels when it tries to inline the function more than >once. Use local labels Look in file as.inf -->Symbols-->Symbol Names > >Thanks in advance >Simon