From: beppu AT rigel DOT oac DOT uci DOT edu (John Beppu) Newsgroups: comp.os.msdos.djgpp Subject: Re: MASM COFF calls from DJGPP functions Date: 13 Apr 1997 13:59:45 GMT Organization: University of California, Irvine Lines: 42 Distribution: global Message-ID: <5iqosh$shs@news.service.uci.edu> References: <5im65m$ejm AT norgate DOT norland DOT com> NNTP-Posting-Host: rigel.oac.uci.edu Keywords: MASM COFF To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp In article <5im65m$ejm AT norgate DOT norland DOT com>, Russell Nell wrote: >QUESTIONS: > 1) What registers does DJGCC expect to be preserved by the > called function? Preserve the following registers: ebx ebp esp edi esi Now, I have a question for the more knowledgeable djgpp folk. I asked the same question a while back, and I received some answers from people who read this newsgroup/ML. That was great, but I would like to know where it is *documented* that the above registers are indeed the ones which have to be preserved. n > 2) Has anyone else gotten MASM COFF files to link and run > with DJGCC code? > I have no real experience with MASM. >I am in an extreme hurry and do not want to re-write the assembly >code. I have also gotten 90% done without ANY modifications to >the purchased library code (which is a GOOD thing). I Hope everything works out. -- beppu AT uci DOT edu .............................................................