Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

AT&T to Intel Syntax Translation

386 views
Skip to first unread message

David Librik

unread,
Oct 21, 2004, 1:48:39 PM10/21/04
to
Is there a tool which will automatically translate AT&T syntax
x86 files to Intel syntax?

Bonus points if it can handle the range of GAS (GNU assembler)
assembler directives as well, producing a MASM compatible (.asm)
file from a GAS (.s) one.

- David Librik
lib...@panix.com

J. Voss

unread,
Nov 11, 2004, 1:23:24 PM11/11/04
to


Hi!

I remember a tool called 'a2i' that does this conversion. However, the
version I tried, maybe more than a year ago, could not handle all GAS
output.
Another way could be to assemble the source using GAS to an object file,
then link this to a binary with lnkflat. This binary output could then be
processed by a disassembler. I found lnkflat at http://braomegaket.cjb.net
(already mentioned it in a reply to a question about gcc->nasm in this
forum).

Greetings

0 new messages