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
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