GitPedia

Asm tutorial

Code samples for the Understanding Windows x64 Assembly tutorial.

From sonictk·Updated June 2, 2026·View on GitHub·

This repository hosts the code samples for the [accompanying tutorial](https://sonictk.github.io/asm_tutorial/). The project is written primarily in C, distributed under the Other license, first published in 2019. Key topics include: assembly, nasm, win32, x64.

Understanding Windows x64 Assembly code repository

About

This repository hosts the code samples for the accompanying tutorial.

It also contains a whole host of other samples that I was playing with when going
through Ray Seyfarth's books on the subject.

Usage

Please refer to the instructions in the build.bat script for instructions on how t
to build the examples in this repository. Folders contain their own build scripts
for their own individual projects.

Sample .dir-locals.el files

This is what I use for when I'm programming in Emacs.

Windows

(
 (nil . ((tab-width . 4)))

 (nasm-mode . ((tab-width . 4)
               (indent-tabs-mode . nil)
               (nasm-after-mnemonic-whitespace . :space)
               (compile-command . "build.bat release")
               (cd-compile-directory . "C:\\Users\\sonictk\\Git\\experiments\\nasm_learning")
               ))

 (c++-mode . ((c-basic-offset . 4)
              (tab-width . 4)
              (indent-tabs-mode . t)
              (compile-command . "build.bat release")
              (cd-compile-directory . "C:\\Users\\sonictk\\Git\\experiments\\nasm_learning")
              (cc-search-directories . ("."))
              ))

 (c-mode . ((c-basic-offset . 4)
            (tab-width . 4)
            (indent-tabs-mode . t)
            (compile-command . "build.bat release")
            (cd-compile-directory . "C:\\Users\\sonictk\\Git\\experiments\\nasm_learning")
            (cc-search-directories . ("."))
            ))
 )
This article is auto-generated from sonictk/asm_tutorial via the GitHub API.Last fetched: 6/28/2026