Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to install NASM in windows 10?

I'm trying to learn assembly and want to download NASM I use Windows 10,is it possible to install NASM without using DosBox or VM ?? because I saw someone using CodeBlocks with NASM to code in assembly..

like image 360
Hajar Alhalabi Avatar asked Sep 14 '19 17:09

Hajar Alhalabi


People also ask

Can we install NASM on Windows?

Install the codeblocks by running the setup.exe file you downloaded. Extract and install nasm into the codeblocks folder, e.g., C:\Program Files\CodeBlocks\MinGW\bin. Check whether the installation is working or not by the source code below for a test run.


2 Answers

NASM has installers for Windows available from its website under the "Downloads" tab

The latest stable Win64 build (as of 15Sep2019) is available here: https://www.nasm.us/pub/nasm/releasebuilds/2.14.02/win64/

like image 70
nickelpro Avatar answered Oct 04 '22 23:10

nickelpro


An easy alternative for Windows 10 would be installing NASM with the winget Package Manager.

Run the Command Prompt as an Administrator and then:

Install NASM

winget install nasm -i

Add it to the Path

setx Path "%Path%;C:\Program Files\NASM\"

Restart the Command Prompt and verify

nasm --version

NASM version 2.15.05 compiled on Aug 28 2020

like image 44
rbento Avatar answered Oct 04 '22 23:10

rbento