From: Henri Ossi 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 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk 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.