install nasm windows 10

Install NASM on Windows 10: Step-by-Step Guide

By Hannah Hernandez
AD

Diving into the world of assembly language programming on Windows 10? NASM, or Netwide Assembler, is a perfect choice for x86 and x86-64 architecture, and it's surprisingly straightforward to install on Windows. Let's guide you through the seamless process of setting up NASM on your Windows 10 machine, ensuring you're equipped with a robust tool for low-level programming.

Before we begin, let's briefly understand why NASM is a popular choice. NASM's syntax is more readable compared to its counterparts, it offers exceptional error reporting, and it boasts extensive online resources and documentation, making it an ideal pick for beginners and seasoned alike. Now, let's get into the installation process.

Downloading NASM

Your first step is downloading NASM from its official website. The site offers the latest version along with detailed release notes if you're curious about updates.

AD
Windows 10 Installation – Step-by-Step Guide
Windows 10 Installation – Step-by-Step Guide
Windows 11 Install is stuck during Installation - Different scenarios
Windows 11 Install is stuck during Installation - Different scenarios
Windows 10 Technical Preview, hands-on
Windows 10 Technical Preview, hands-on

As of now, the latest NASM version is 2.15.05. Click on the "Download" tab, choose the appropriate binary for your system, and save it to your preferred location, like your desktop.

Processing the Download

Once downloaded, you'll notice that NASM is delivered as an archive file, such as a .zip or .7z. To extract the contents, you can use built-in Windows tools like File Explorer's "Extract All" function or you can use third-party software like 7-Zip, for more advanced compression options.

How to Install macOS High Sierra on Windows 10 | SBIT Online
How to Install macOS High Sierra on Windows 10 | SBIT Online
the windows 10 start screen is empty and ready to be installed, but it's still open
the windows 10 start screen is empty and ready to be installed, but it's still open
How to Install MacOS On Windows 10 in VirtualBox
How to Install MacOS On Windows 10 in VirtualBox

You can extract the files to a location of your choosing, but we recommend keeping it in a directory like C:\NASM. This location is standard and can help you avoid potential conflicts or PATH issues down the line.

Adding NASM to PATH

To use NASM effectively, you'll need to add it to your system's PATH variable. This allows you to run it from any directory without specifying the full path. Let's guide you through the process:

AD

1. Press Win + I to open the Settings menu.
2. Type "Environment" in the search bar and click on "Edit the system environment variables".
3. In the System Properties window, click the "Environment Variables..." button at the bottom.
4. Under "System Variables", find and select the "Path" variable, then click "Edit...".
5. Click "New" and paste the path to the NASM directory (e.g., C:\NASM).
6. Click "OK" on all windows to save changes.

How to do a clean install of Windows 10 - CNET
How to do a clean install of Windows 10 - CNET
the windows 10 start screen is shown in this screenshot from an actual operating window
the windows 10 start screen is shown in this screenshot from an actual operating window
How To Install Language Pack On Windows 10
How To Install Language Pack On Windows 10
Windows 10 OS Installation step by step
Windows 10 OS Installation step by step
Microsoft releases Windows 10 Technical Preview 10049 with Project Spartan
Microsoft releases Windows 10 Technical Preview 10049 with Project Spartan
the windows 10 and 8 must do after installing them in your home or office computer
the windows 10 and 8 must do after installing them in your home or office computer

Verifying NASM Installation

Now that NASM is installed and added to your PATH, let's verify that everything is working properly. Open Command Prompt and type:

nasm -v

AD

The command should display the NASM version that's installed on your system, confirming a successful setup. Isn't that empowering?

How To Create .ISO File Using Microsoft Media Creation Tool?
How To Create .ISO File Using Microsoft Media Creation Tool?

You're now ready to start exploring assembly language programming on your Windows 10 machine. From writing simple assembly programs to complex projects, NASM has equipped you with a versatile tool. Happy coding!

AD