Setup asm-lsp With NASM

24 March 2025 · 1 min read · Assembly, Programming, Low Level

Contents

I recently started reading Programming Boot Sector Games. To write my own test programs I needed to set up asm-lsp.

Here is the configuration I use in .asm-lsp.toml:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
[default_config]
version = "0.10.0"
assembler = "nasm"
instruction_set = "x86"

[default_config.opts]
compiler = "nasm"
compile_flags_txt = []
diagnostics = true
default_diagnostics = true