delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/11/04/05:16:34

From: George Foot <mert0407 AT sable DOT ox DOT ac DOT uk>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: global variable
Date: 3 Nov 1997 04:42:18 GMT
Organization: Oxford University, England
Lines: 19
Message-ID: <63jkna$b24$1@news.ox.ac.uk>
References: <345C5040 DOT 4627 AT bluewin DOT ch>
NNTP-Posting-Host: sable.ox.ac.uk
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

On Sun, 02 Nov 1997 11:04:48 +0100 in comp.os.msdos.djgpp LEGER
Patrick <leger_v AT bluewin DOT ch> wrote:

: Is there a method to use directly the argument without load them in a
: globale variable ?

If you use extended assembler, you can tell it what variables (local
or global) to put in which registers as your assembler code is
entered, as well as what variables to put register results in on exit,
and which registers your routine modifies.

For more information on extended assembler, and a brief tutorial, go
to http://www.home.ml.org/brennan/djgpp/ and read Brennan's guide to
AT&T inline assembly.

-- 
Regards,

george DOT foot AT merton DOT oxford DOT ac DOT uk

- Raw text -


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