www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/07/08/13:13:30

Date: Tue, 8 Jul 1997 10:11:44 -0700 (PDT)
Message-Id: <199707081711.KAA26893@adit.ap.net>
Mime-Version: 1.0
To: "csantill AT lausd DOT k12 DOT ca DOT us" <csantill AT lausd DOT k12 DOT ca DOT us>
From: Nate Eldredge <eldredge AT ap DOT net>
Subject: Re: GNU assembler
Cc: djgpp AT delorie DOT com

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019