delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/11/14/01:39:39

Date: Thu, 13 Nov 1997 22:38:09 -0800 (PST)
Message-Id: <199711140638.WAA20752@adit.ap.net>
Mime-Version: 1.0
To: "Ashod" <ashod AT ozemail DOT com DOT au>, djgpp AT delorie DOT com
From: Nate Eldredge <eldredge AT ap DOT net>
Subject: Re: okay nearly there,.

At 03:51  11/12/1997 GMT, Ashod wrote:
>
>Thanks for the help sofar, but am still having problem with the following:
>
>char aglobal_buffer [1024];
>
>void test (int x,int y,char *vmem)
>
>{
>int foo;
>
>/*
>how do I access aglobal_buffer,foo,vmem etc in inline asm.
>aglobal_buffer works okay, but vmem,x,y and foo dont work */
>
>}
Use GCC's inline asm features. FAQ section 18.13 has more info. You can see
some simple examples in the DJDIR/include/inlines/*.h files, and many more
in the DJGPP library source.

Nate Eldredge
eldredge AT ap DOT net



- Raw text -


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