| delorie.com/archives/browse.cgi | search |
| From: | Henri Ossi <henri DOT ossi AT mail DOT htk DOT fi> |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | Inline asm |
| Date: | Tue, 25 Nov 1997 11:15:54 +0200 |
| Organization: | Telecom Finland News Service |
| Lines: | 13 |
| Message-ID: | <347A974A.91C9FBC5@mail.htk.fi> |
| Reply-To: | henri DOT ossi AT mail DOT htk DOT fi |
| NNTP-Posting-Host: | pc1041.public.htk.fi |
| Mime-Version: | 1.0 |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
A quick question. Do I have to push and pop all the registers, which I use in inline asm? What about return values? Can I leave a number in ax to tell the calling function, if there was any errors (etc)? Or do I have to use a variable to store the number and then use "return"? Thanks.
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |