nasm
1.1、nasm简介
short for:Netwide Assembler
是什么 ?:an 80x86 and x86-64 assembler designed for portability and modularity. It supports a range of object file formats, including Linux and *BSD a.out, ELF, COFF, Mach-O, 16-bit and 32-bit OBJ (OMF) format, Win32 and Win64. It will also output plain binary files, Intel hex and Motorola S-Record formats. Its syntax is designed to be simple and easy to understand, similar to the syntax in the Intel Software Developer Manual with minimal complexity. It supports all currently known x86 architectural extensions, and has strong support for macros.
开发语言:C
官方主页:https://www.nasm.us
源码仓库:https://github.com/netwide-assembler/nasm
1.2、通过包管理器安装nasm
操作系统包管理器安装命令
Windowsscoopscoop install nasm
WindowsChocolateychoco install -y nasm
macOSHomeBrewbrew install nasm
GNU/LinuxHomeBrewbrew install nasm
aptsudo apt-get install -y nasm
CentOSyumsudo yum install -y nasm
dnfsudo dnf install -y nasm
openSUSEzyppersudo zypper install -y nasm
Alpine Linuxapksudo apk add nasm

Arch Linux

ArcoLinux

Manjaro Linux

pacmansudo pacman -Syyu --noconfirm
sudo pacman -S    --noconfirm nasm
Gentoo LinuxPortagesudo emerge nasm
1.3、通过编译源码安装nasm
1.4、nasm中包含的命令