delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/05/01/15:29:58

From: Nate Eldredge <neldredge AT hmc DOT edu>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: C++ methods in assembly?
Date: 01 May 2000 12:56:27 -0700
Organization: InterWorld Communications
Lines: 16
Message-ID: <83em7mcadw.fsf@mercury.st.hmc.edu>
References: <1l0rgsge70rmt5ljub54mrtolub7koqti5 AT 4ax DOT com>
NNTP-Posting-Host: mercury.st.hmc.edu
Mime-Version: 1.0
X-Trace: nntp1.interworld.net 957210987 76849 134.173.45.219 (1 May 2000 19:56:27 GMT)
X-Complaints-To: usenet AT nntp1 DOT interworld DOT net
NNTP-Posting-Date: 1 May 2000 19:56:27 GMT
User-Agent: Gnus/5.0802 (Gnus v5.8.2) Emacs/20.5
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Damian Yerrick <Bullcr_pd_yerrick AT hotmail DOT comRemoveBullcr_p> writes:

> Is it possible to use Gas or NASM to write C++ member functions in
> i386 assembly language?

Presumably.  Figure out the mangled name for that member function, and
figure out the C++ calling conventions (the this pointer and so on).
Then write code :)

Oh, is there a documented way?  Not that I know of, but I could be
mistaken.

-- 

Nate Eldredge
neldredge AT hmc DOT edu

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019