-o Option: Output File Name
-f Option: Output File Format
-l Option: Generating a Listing File
-L Option: Additional or Modified Listing Info
-M Option: Generate Makefile Dependencies
-MG Option: Generate Makefile Dependencies
-MF Option: Set Makefile Dependency File
-MD Option: Assemble and Generate Dependencies
-MT Option: Dependency Target Name
-MQ Option: Dependency Target Name (Quoted)
-MP Option: Emit Phony Makefile Targets
-MW Option: Watcom make quoting style
-F Option: Debug Information Format
-g Option: Enabling Debug Information.
-X Option: Selecting an Error Reporting Format
-Z Option: Send Errors to a File
-s Option: Send Errors to stdout
-i Option: Include File Search Directories
-p Option: Pre-Include a File
-d Option: Pre-Define a Macro
-u Option: Undefine a Macro
-E Option: Preprocess Only
-a Option: Suppress Preprocessing
-O Option: Multipass Optimization
-t Option: TASM Compatibility Mode
-w and -W Options: Enable or Disable Assembly Warnings
-v Option: Display Version Info
--[gl]prefix and --[gl]postfix Options
--pragma Option
--before Option
--bits Option
--limit- Options
--keep-all Option
--no-line Option
--reproducible Option
NASMENV Environment Variable
ASSUME
? ... :: Conditional Operator
||: Boolean OR Operator
^^: Boolean XOR Operator
&&: Boolean AND Operator
|: Bitwise OR Operator
^: Bitwise XOR Operator
&: Bitwise AND Operator
+ and -: Addition and Subtraction Operators
SEG and WRT
STRICT: Inhibiting Optimization
JMP and CALL Syntax
PUSH and POP Extensions
%line directives
%define
%define: %xdefine
%[...]
%+
%? and %??
%*? and %*??
%undef
%assign
%defstr
%deftok
%defalias
%,
%abs() Function
%b2hs() Function
%chr() Function
%cond() Function
%count() Function
%depend() Function
%env() Function
%eval() Function
%find() and %findi() Functions
%hex() Function
%hs2b() Function
%is() Family Functions
%limit() Function
%map() Function
%null() Function
%num() Function
%ord() Function
%pathsearch() Function
%realpath() Function
%sel() Function
%selbits() Function
%str() Function
%strcat() Function
%strlen() Function
%substr() Function
%tok() function
%macro
%0: Macro Parameter Counter
%00: Label Preceding Macro
%rotate: Rotating Macro Parameters
.nolist
%unmacro, %unimacro
%exitmacro: Stop Expanding a Multi-Line Macro
%if: Testing Arbitrary Numeric Expressions
%ifdef: Testing Single-Line Macro Existence
%ifdefalias: Testing Single-Line Macro Alias Existence
%ifmacro: Testing Multi-Line Macro Existence
%ifctx: Testing the Context Stack
%ifidn and %ifidni: Testing Exact Text Identity
%ifid, %ifnum, %ifstr: Testing Token Types
%iftoken: Test for a Single Token
%ifempty: Test for Empty Expansion
%ifdirective: Test If a Directive Is Supported
%ifusable and %ifusing: Test For Standard Macro Packages
%iffile: Test If a File Exists
%ifenv: Test If Environment Variable Exists
%rep
%push and %pop: Creating and Removing Contexts
%repl: Renaming a Context
%error, %warning, %fatal, %note
%pragma: Setting Options
__?FILE?__ and __?LINE?__: File Name and Line Number
__?BITS?__: Current Code Generation Mode
__?DEFAULT?__: DEFAULT directive settings
__?OUTPUT_FORMAT?__: Current Output Format
__?DEBUG_FORMAT?__: Current Debug Format
__?NASM_LIMITS?__: List of Resource Limits
__?NASM_HAS_IFDIRECTIVE?__: Directive Probing Support
__?USE_package?__: Package Include Test
__?LIST_OPTIONS?__: Current Listing Options
__?LIST_OPTIONS_DEFAULT?__: Default Listing Options
__?PASS?__: Assembly Pass
BITS: Target Processor Mode
DEFAULT: Change the assembler defaults
SECTION or SEGMENT: Changing and Defining Sections
ABSOLUTE: Defining Absolute Labels
EXTERN: Importing Symbols from Other Modules
REQUIRED: Unconditionally Importing Symbols from Other Modules
GLOBAL: Exporting Symbols to Other Modules
COMMON: Defining Common Data Areas
STATIC: Local Symbols within Modules
[[GL]PREFIX], [[GL]SUFFIX]: Mangling Symbols
CPU: Defining CPU Dependencies
[DOLLARHEX]: Enable or disable $ hexadecimal syntax
FLOAT: Handling of floating-point constants
[WARNING]: Enable or disable warnings
[LIST]: Locally disable list file output
bin: Flat-Form Binary Output
ith: Intel Hex Output
srec: Motorola S-Records Output
obj: Microsoft OMF Object Files
obj Extensions to the SEGMENT Directive
GROUP: Defining Groups of Segments
UPPERCASE: Disabling Case Sensitivity in Output
IMPORT: Importing DLL Symbols
EXPORT: Exporting DLL Symbols
..start: Defining the Program Entry Point
obj Extensions to the EXTERN Directive
obj Extensions to the COMMON Directive
obj2: OS/2 32-bit OMF Object Files
win32: Microsoft Win32 Object Files
win64: Microsoft Win64 Object Files
coff: Common Object File Format
macho32 and macho64: Mach Object File Format
macho extensions to the SECTION Directive
macho special symbols and WRT
macho specific directive subsections_via_symbols
macho specific directive no_dead_strip
macho specific extensions to the GLOBAL Directive: private_extern
macho specific directive build_version
elf32, elf64, elfx32: Executable and Linkable Format Object Files
osabi
SECTION Directive
WRT
elf Special Symbols and WRT
elf Extensions to the GLOBAL Directive
elf Extensions to the EXTERN Directive
elf Extensions to the COMMON Directive
aout: Linux a.out Object Files
aoutb: NetBSD/FreeBSD/OpenBSD a.out Object Files
as86: Minix/Linux as86 Object Files
dbg: Debugging Format