Mail Archives: djgpp/1997/07/08/13:13:30
At 01:18 7/7/1997 -0700, you wrote:
>1) Up to what Intel x86 sytax is supported for extern integration w/
> GCC 2.7.x?
Any. GCC doesn't care what your asm functions contain. It just calls them
and looks at what they return. I believe NASM supports Pentium/MMX instructions.
>
>2) Would there be any p-mode considerations(like ES destruction)?
This isn't particularly a protected-mode issue, but yes, GCC does have
standards for which registers need to be preserved through a function call.
I don't know exactly what they are, however. I would plan on saving
everything except eax, ebx, ecx and edx. I don't know whether the floating
point registers need to be saved.
>
>3) How do I install NASM in DJGPP's dir stucture?
My suggestion: Since, as the docs say, all it needs is the binary, put the
EXE's in your bin directory, and the docs under doc.
HTH
Nate Eldredge
eldredge AT ap DOT net
- Raw text -