Skip to content

Repository files navigation

pasm-x86

about

pasm-x86 is an assembler for x86-64 architecture.

Warning

i left pasm in rc phase, bc i'm too lazy to test and catch all the edge-cases (bc i'm not an assembly expert and i don't want to) and this tool is not production-ready despite its "impressive" (depends to who) results. use at your own risk.

-matyz 2026

features

  • Wide coverage of x86-64 ISA (1795 unique mnemonics)
  • Support for SSE*, AVX, AVX2, AVX-512/AVX-10, Intel APX, x87, MMX and more x86-64 extensions
  • Support for bin and 32/64-bit ELF as export target
  • Very performant and optimized (~3-4x faster than GAS in our cherry picked benchmarks 😊)

getting started

Just run: cargo build --release or cargo install --path .

Note

If you want to test if source code from any commit is valid to use:

# this requires that NASM binary is installed in $PATH
$ just test 

documentation

pasm's documentation can be found here.

It contains information on pasm's syntax as well as full x86-64 encoding notes.

credits

pasm was brought to you by matissoss <matissossgamedev@proton.me> under MPL 2.0 license.

About

modern independent x86-64 assembler

Topics

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages