Mail Archives: djgpp/1997/12/14/06:03:19
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 -