Date: Fri, 13 Feb 1998 14:55:30 -0800 (PST) Message-Id: <199802132255.OAA08415@adit.ap.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" To: massarin AT alpha3 DOT cram DOT enel DOT it, djgpp AT delorie DOT com From: Nate Eldredge Subject: Re: Assembler in C code Precedence: bulk At 02:29 2/13/1998 GMT, massarin AT alpha3 DOT cram DOT enel DOT it wrote: >Hi all. > >I need to call a driver passing a pointer in es:di,driver works on pointer and >return nothing. > >I was thinking about: > >int driver_address; >struct x my_struct; > >asm volatile("lcall driver_address : :"s" (my_struct)"); See FAQ section 18.2 and see if that answers your question. Nate Eldredge eldredge AT ap DOT net