| delorie.com/archives/browse.cgi | search |
| From: | John Simon Churchill <simon_churchill AT hotmail DOT com> |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | #define inline asm macros, inline asm labels |
| Date: | Tue, 15 Sep 1998 09:12:52 +0100 |
| Organization: | BT Labs, Martlesham Heath, Ipswich, UK |
| Lines: | 13 |
| Message-ID: | <35FE2184.6F34@hotmail.com> |
| Reply-To: | simon_churchill AT hotmail DOT com |
| NNTP-Posting-Host: | pc5685.btlabs.bt.co.uk |
| Mime-Version: | 1.0 |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
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.
Thanks in advance
Simon
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |