Date: Tue, 2 May 2000 17:05:46 +0300 (IDT) From: Eli Zaretskii X-Sender: eliz AT is To: Traveler cc: djgpp AT delorie DOT com Subject: Re: Assembly and C++ In-Reply-To: <8emeld$chk$1@tron.sci.fi> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Tue, 2 May 2000, Traveler wrote: > How can I make class member functions with NASM or GAS ? I think it is much easier to use inline assembly, or to call a function declared extern "C" from a C++ wrapper. Otherwise, you will probably need to understand how does the compiler mangle the names of C++ identifiers, and the code you write could be broken by any new version of the compiler. Of course, the first question you should ask yourself is whether you at all need assembly in the first place ;-).