| delorie.com/archives/browse.cgi | search |
| From: | massarin AT alpha3 DOT cram DOT enel DOT it |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | Assembler in C code |
| Date: | 13 Feb 1998 14:29:12 GMT |
| Organization: | ENEL Ricerca PEA |
| Lines: | 19 |
| Distribution: | inet |
| Message-ID: | <6c1lbo$mj1@willy.cra.enel.it> |
| Reply-To: | massarin AT alpha3 DOT cram DOT enel DOT it |
| NNTP-Posting-Host: | alpha3.cram.enel.it |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
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)");
I was surely thinking wrong.
Have anyone some advice ?
Thanks at all.
Please reply by newsgroup because my email can't receive.
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |