delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/01/09/11:43:03

From: Elliott Oti <e DOT oti AT stud DOT warande DOT ruu DOT nl>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Intel ASM Possible
Date: Wed, 08 Jan 1997 22:41:26 -0800
Organization: Academic Computer Centre Utrecht, (ACCU)
Lines: 21
Message-ID: <32D49316.4F7E@stud.warande.ruu.nl>
References: <32CEF7D5 DOT 32F2 AT ix DOT netcom DOT com>
NNTP-Posting-Host: warande1078.warande.ruu.nl
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Dan Mintz wrote:
> 
> Well does anyone know of a
> program that can convert Intel ASM to AT&T asm? Because I am NOT up for
> learning another language.

ftp://x2ftp.oulu.fi/pub/msdos/programming/convert has a tasm to ATT converter
called ta2as.

Be warned that IMO by far the most difficult part of writing assembler
modules for DJGPP is not so much the relatively trivial syntax differences,
but the neccessity of writing code that complies with the requirements 
imposed by protected mode,the dpmi interface, and gcc's own expectations.
ta2as will happily convert any rubbish fed to it, which will bomb under gas.

If you have never seen or understood a standalone ATT-syntax asm module, chances
are you will not be able to write an Intel variant that doesn't bomb. If you
do understand the technicalities of programming asm for djgpp then IMO
you won't have serious difficulty understanding the ATT-syntax.I don't
speak condescendingly, but from painful experience. My advice would be
to bite the bullet and learn it, because all the examples you'll find are in ATT.

- Raw text -


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