www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/02/20/19:01:16

From: "John M. Aldrich" <fighteer AT cs DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: asm and variables access
Date: Fri, 20 Feb 1998 18:42:56 -0500
Organization: Two pounds of chaos and a pinch of salt.
Lines: 19
Message-ID: <34EE1500.5115@cs.com>
References: <34ED884D DOT 45CBA0 AT teccart DOT qc DOT ca>
NNTP-Posting-Host: ppp231.cs.com
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Jean-Réginald Louis wrote:
> 
> How can I acces the parameter of a function and is local variable in
> DJGPP when I use inline assembly (write inside that function)?
> 
> This thing get me crazy! Whith Borland C++ 3.1, I had no problem doing
> this. I thing GCC can do so!

Use extended inline assembly.  Information on this can be found in
chapter 18.13 of the DJGPP FAQ, which also directs you to the
appropriate place in the gcc documentation.

-- 
---------------------------------------------------------------------
|      John M. Aldrich       | "If 'everybody knows' such-and-such, |
|       aka Fighteer I       | then it ain't so, by at least ten    |
|   mailto:fighteer AT cs DOT com   | thousand to one."                    |
| http://www.cs.com/fighteer |                 - Lazarus Long       |
---------------------------------------------------------------------

- Raw text -


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