www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/06/23/10:17:32

From: yorka AT dlc DOT fi (aYk)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: DJGPP and ASM
Date: Tue, 23 Jun 1998 13:57:55 GMT
Organization: Majik
Lines: 32
Message-ID: <358fb283.5867334@news.dlc.fi>
References: <358F9D5F DOT 92FEDE26 AT club-internet DOT fr>
NNTP-Posting-Host: ccclxviii.kdyn.saunalahti.fi
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

On Tue, 23 Jun 1998 14:19:43 +0200, Julien Meyer
<meyert AT club-internet DOT fr> wrote:

>What program(s) does I need to compile assembly using DJGPP ?

You need an assembler which is capable of outputting coff objects. 

You can use GAS (GNU assembler), which comes with the standard
binutils. The only "limitation" is that you will need to use the AT&T
syntax, ie.

movl %%ecx, %%eax

GAS's errorchecking is also minimal because it is not designed to get
input from the programmer in the first place.

As opposed to GAS, there is an assembler called NASM (Netwide
Assembler), their homepage is at http://www.cryogen.com/Nasm. It's
just about the best assembler there is and it can output coff objects
and it uses the intel syntax.

Some versions of MASM should also output coff objects.

- aYk -

| Atte "Yorkaturr" Koivula 	- aYk -	 |
| -------------------------------------- |
| God of Evil | yorkaturr AT majik DOT netti DOT fi |
| Programmer  |	yorka AT dlc DOT fi		 |
| Graphician  |	yorka AT newbies DOT net	 |
| -------------------------------------- |
| Majik MURPE  -  http://majik.netti.fi  |

- Raw text -


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