简体   繁体   English

如何在 Windows 10 中安装 NASM?

[英]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 ??我正在尝试学习汇编并想下载 NASM 我使用的是 Windows 10,是否可以在不使用 DosBox 或 VM 的情况下安装 NASM? because I saw someone using CodeBlocks with NASM to code in assembly..因为我看到有人使用带有 NASM 的 CodeBlocks 在汇编中编码..

NASM has installers for Windows available from its website under the "Downloads" tab NASM 在其网站的“下载”选项卡下提供了适用于 Windows 的安装程序

The latest stable Win64 build (as of 15Sep2019) is available here: https://www.nasm.us/pub/nasm/releasebuilds/2.14.02/win64/最新的稳定版 Win64 版本(截至 2019 年 9 月 15 日)可在此处获得: https ://www.nasm.us/pub/nasm/releasebuilds/2.14.02/win64/

An easy alternative for Windows 10 would be installing NASM with the winget Package Manager. Windows 10 的一个简单替代方案是使用winget包管理器安装 NASM。

Run the Command Prompt as an Administrator and then:以管理员身份运行命令提示符,然后:

Install NASM安装 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 NASM 版本 2.15.05 编译于 2020 年 8 月 28 日

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM