NASM - The Netwide Assembler
NASM Forum => Programming with NASM => Topic started by: adanisch on October 24, 2019, 08:03:30 PM
-
I couldn't find anything that moved Gas ASM to NASM directly. The closest was Agner's objconv. Is there a reason why gcc doesn't have a nasm output option?
So I whipped up a quick Gas ASM to NASM translator, it's far from done but it's a start. It works for simple programs. I will keep improving it.
http://scriptsandoneliners.blogspot.com/2019/10/g2nasm-gas-asm-to-nasm.html (http://scriptsandoneliners.blogspot.com/2019/10/g2nasm-gas-asm-to-nasm.html)
https://github.com/AdamDanischewski/g2nasm (https://github.com/AdamDanischewski/g2nasm)
-
Cool. Thank you!
Best,
Frank
-
NP - it's not complete, but it's a start! ;)
Pull requests are invited.