[PLUG] translator from MASM to a linux-compatable assembler?
Aaron Burt
aaron at bavariati.org
Sun Jul 15 05:29:03 UTC 2007
On Sat, Jul 14, 2007 at 09:28:23PM -0700, Keith Lofstrom wrote:
>
> The Windoze app I am working on open sourcing works fine under WINE.
> Hooray, no Windoze! Except ...
>
> The source includes about 13000 lines (in 19 files) of Micro$oft
> MASM assembly code, for speedup and optimization (no, I don't want
> to replace the functions with C code right now). That assembly
> format is not compatable with the Linux assemblers nasm and as and
> gas. Is there a Linux-native assembler that can read MASM format
> (perhaps simplified), or a translator that can re-render the MASM
> files as nasm/as/gas input?
Hm. I thought that MASM used Intel format, like NASM. Google turned up
a sed script for converting MASM to GAS:
http://www.delorie.com/djgpp/faq/converting/asm2s-sed.html
Let us know how it goes,
Aaron
More information about the PLUG
mailing list