delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/12/14/06:03:19

From: Kris Heidenstrom <kheidens AT clear DOT net DOT nz>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Trouble with inline assembly
Date: Sun, 14 Dec 1997 18:41:36 +1300
Organization: CLEAR Net, http://www.clear.net.nz/
Lines: 22
Message-ID: <34937190.F96AEA19@clear.net.nz>
References: <3492E5B2 DOT C03CDAD0 AT swipnet DOT se>
NNTP-Posting-Host: d2-u27.wgtn.clear.net.nz
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Troels Nielsen wrote:

> Hello,
> Well, I'm working on a program, where I (for the sake of fastness)
> want to write to a variable-address using inline assembly. Is there
> any possible why to access variable-addresses using assembly code?
> I would be very happy if anyone could answer this question.

Yes, you can use inline assembly, but the structure is pretty
strange.  There's a good explanation written by Brennan
Underwood.  The URL (from the DJGPP FAQ, which you should get
if you haven't already) is http://brennan.home.ml.org/djgpp.

Read this document very carefully and thoroughly.  The syntax
takes a lot of getting used to.  If you still have trouble,
email the code fragment to me and I'll try to help.

Kris
--
Kris Heidenstrom	Electronic designer, programmer, bass player
kheidens AT clear DOT net DOT nz	http://home.clear.net.nz/pages/kheidens/

- Raw text -


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