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
»
Using NASM
»
compile and link correctly
« previous
next »
Print
Pages: [
1
]
Author
Topic: compile and link correctly (Read 11035 times)
matthias
New Member
Posts: 1
compile and link correctly
«
on:
February 20, 2020, 10:24:20 AM »
Hello to all.
I have installed the nasm on my windows 10 pc.
I did write a assembler file. The classical hello world.
How do I now make a exe file out of it?
Thanks for the answer
Matthias
Logged
vitsoft
Jr. Member
Posts: 17
Country:
Re: compile and link correctly
«
Reply #1 on:
February 23, 2020, 08:28:03 PM »
You will need a linker to create PExecutable from the COFF object file created by nasm
and from import libraries. Examples are here:
https://www.davidgrantham.com/
Or you can use €ASM, which creates executable files without external linker and import libraries. Examples are here:
https://euroassembler.eu/eadoc/#HelloWorld
Logged
Print
Pages: [
1
]
« previous
next »
NASM - The Netwide Assembler
»
NASM Forum
»
Using NASM
»
compile and link correctly