Mail Archives: djgpp/1997/11/14/01:39:39
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 -