I'm looking for a converter from AT&T-style x86 assembly to Intel-style assembly.
The Att2Intl is a DOS executable, and won't run on 64-bit Windows.
The Gas2masm is sorely incomplete - it chokes on comments, on .ascii
, on numerous legitimate commands like leave
or movs
, clobbers some identifiers...
Any others out there? The target assembler has to be a Microsoft one, there's no way to switch syntax.
EDIT: about 400,000 lines. Not a one time deal, need a not too often but repeatable process. But I won't have to debug it. :)
There's a not-quite-complete Perl script here that might help you out if you're up for making some modifications/extensions to anything missing: http://boinc.berkeley.edu/android-boinc/libssl/crypto/perlasm/x86_64-xlate.pl
If not, just run Att2Intl in DOSBox or a WinXP VM. If you don't have access to XP, you could also try installing ReactOS in a VM. I believe they used DOSBox source to implement the DOS layer so that may provide a long-term solution without having to resort to actually running DOSBox every time.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With