From: Fabrice ILPONSE Newsgroups: comp.os.msdos.djgpp Subject: Re: Inline asm Date: Mon, 01 Dec 1997 13:51:07 +0100 Organization: Universites Paris VI/Paris VII - France Lines: 26 Message-ID: <3482B2BB.A3@trash.lip6.fr> References: <347A974A DOT 91C9FBC5 AT mail DOT htk DOT fi> NNTP-Posting-Host: asim.lip6.fr 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 Henri Ossi wrote: > > A quick question. > Do I have to push and pop all the registers, which I use in inline asm? You MUST !! > 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"? I do it that way. > > Thanks. -- ^ ^ ^ | | | +-+-+ Fabrice ILPONSE | | | - I can think of is that the 386 misses an IRQ int now and then. Both machines are doing network and flash-disk IO access. Can anyone tell me if this could be the cause, or could it be something else? Would increasing the priority of IRQ 8 by reprogramming the PIC be a solution? Should disk access-interrupts have the highest priority? Lots of questions, no answers. That's life :) I will appreciate any comments or pointers to documentation! Cheers! Rob Kramer rkramer AT xs4all DOT nl P.S. Could you please CC your reply to my e-mail address? Thenks! linking tools (i.e. not rebuilt wrongly); in this case, your programs should run as reliably as the compiler itself. Does the compiler work from your DOS setup? -- george DOT foot AT merton DOT oxford DOT ac DOT uk