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,
Lines: 22
Message-ID: <>
References: <3492E5B2 DOT C03CDAD0 AT swipnet DOT se>
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

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 Heidenstrom	Electronic designer, programmer, bass player
kheidens AT clear DOT net DOT nz

- Raw text -

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