Date: Thu, 13 Nov 1997 22:38:09 -0800 (PST) Message-Id: <199711140638.WAA20752@adit.ap.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" To: "Ashod" , djgpp AT delorie DOT com From: Nate Eldredge Subject: Re: okay nearly there,. Precedence: bulk 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