Message-Id: Comments: Authenticated sender is From: "Salvador Eduardo Tropea (SET)" Organization: INTI To: "S+rgio Vale e Pace" , djgpp AT delorie DOT com Date: Thu, 19 Mar 1998 17:41:26 +0000 MIME-Version: 1.0 Content-type: text/plain; charset=ISO-8859-1 Subject: Re: class menber in assembler In-reply-to: <3511673A.8C63C6B5@gold.com.br> Content-Transfer-Encoding: 8bit Precedence: bulk "Sérgio Vale e Pace" wrote: > Somebody ou there can tell me how can I access a class menber from > assembler, I writing a class and I was using a normal C++ > menber-function to the class menbers, now I'm trying to translate some > of this functions to assembler to use the test bit facility, and I can't > figure out how to access the class menbers. The best thing in this cases is just to take a look to the assembler generated by the compiler. So make this call in C++ and compile with the -S switch and look in the .s file generated by the compiler. But when using C++ classes under assembler you must be carefull, specially when you change things in the class (like a prototype of a member). Don't foget to pass the object as first parameter to the member! SET ------------------------------------ 0 -------------------------------- Visit my home page: http://set-soft.home.ml.org/ or http://www.geocities.com/SiliconValley/Vista/6552/ Salvador Eduardo Tropea (SET). (Electronics Engineer) Alternative e-mail: set-soft AT usa DOT net set AT computer DOT org CQ: 2951574 Address: Curapaligue 2124, Caseros, 3 de Febrero Buenos Aires, (1678), ARGENTINA TE: +(541) 759 0013