NASM - The Netwide Assembler
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Home
Help
Search
Calendar
Login
Register
NASM - The Netwide Assembler
»
NASM Forum
»
Programming with NASM
»
Migrate Gas ASM to NASM Directly
« previous
next »
Print
Pages: [
1
]
Author
Topic: Migrate Gas ASM to NASM Directly (Read 11014 times)
adanisch
Jr. Member
Posts: 4
Migrate Gas ASM to NASM Directly
«
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
https://github.com/AdamDanischewski/g2nasm
«
Last Edit: October 26, 2019, 12:15:32 AM by adanisch
»
Logged
Frank Kotler
NASM Developer
Hero Member
Posts: 2667
Country:
Re: Migrate MASM to NASM Directly
«
Reply #1 on:
October 24, 2019, 08:25:39 PM »
Cool. Thank you!
Best,
Frank
Logged
adanisch
Jr. Member
Posts: 4
Re: Migrate Gas ASM to NASM Directly
«
Reply #2 on:
October 24, 2019, 10:47:16 PM »
NP - it's not complete, but it's a start!
Pull requests are invited.
«
Last Edit: October 26, 2019, 12:16:00 AM by adanisch
»
Logged
Print
Pages: [
1
]
« previous
next »
NASM - The Netwide Assembler
»
NASM Forum
»
Programming with NASM
»
Migrate Gas ASM to NASM Directly