delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/02/25/04:21:53

Date: Thu, 25 Feb 1999 11:15:59 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Dave Bird <dave AT xemu DOT demon DOT co DOT uk>
cc: djgpp AT delorie DOT com
Subject: Re: I just wanted to assemble this old program under NASM....
In-Reply-To: <uv4pu3BVSI12EwOl@xemu.demon.co.uk>
Message-ID: <Pine.SUN.3.91.990225111519.2772K-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com

On Wed, 24 Feb 1999, Dave Bird wrote:

> OK: a prefix written in C could do all these things then call ASM_MAIN,
> which is (unavoidably) written in Intel assembler by someone else.

There are converters from Intel to AT&T style.  Check out section 17.2
of the DJGPP FAQ list for several solutions.

> Looks like that line-number info for inline assem will have to be
> generated "by hand", or by writing a program myself to do it.

That's only when the assembly code is inlined in a C source.  Pure
assembly modules are free from this problem, I think.

> : A guide is available which was written by Brennan Underwood; 
> : it  describes how to use inline assembly programming with DJGPP 
> : and includes a tutorial on the AT&T assembly syntax. Check out 
> : the __DJGPP inline assembly tutorial__  . 
> :
> Can you give me a current URL for this dead link too, please,
> as I guess I'll be needing it soon.

The URL is unchanged, it's just that the server seems to retire the
document from time to time.  Mail Brennan and ask him to resurrect the
document.

> P.S. is this URL 
> ftp://ftp.delorie.com/pub/djgpp/v2gnu/ed-02b.zip
> OK for "ed"?  I'm just going to log on and try it.

No, it's not okay.  Use this:

    ftp://ftp.simtel.net/pub/simtelnet/gnu/djgpp/v2gnu/ed-02b.zip

- Raw text -


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