Assembly - The Netwide Assembler (nasm)

> Procedural Languages > Language - Assembly (asm)

1 - About

Advertising

3 - Syntax

Assembly - Grammar (Syntax).

; Instruction Destination, Source
; example
mov ax, 9
; move/load the decimal value 9 into the ax register

More see https://en.wikibooks.org/wiki/X86_Assembly/NASM_Syntax

4 - Utility

nasm -f format script.asm -o script

where:

  • -f option specifies the file format of the final output file. The value can be:
    • bin: pure machine code without any metadata such as in ELF

4.1 - Script

bits 32

5 - Documentation / Reference

Advertising
lang/assembly/nasm.txt · Last modified: 2019/01/03 22:47 by 172.69.62.14