Books and technical references

Focused references for people who build close to the machine.

Books prepared by Ayman Alheraki for assembly programmers, systems developers, compiler and assembler implementers, and readers who need compact, structured low-level references.

Human-directed, AI-assisted production Advanced AI capabilities support research organization, visual structure, editing, and reference preparation. Technical direction, scope, judgment, and publication responsibility remain with the author.
Collection index

Browse books by specialty

Select a field to view its books, references, and volumes.

Assembly

Technical book library

Showing 1–9 of 10

Low Level Assembly Linux
1
1

Introduction to x86-64 Architecture and Memory

This booklet explains how x86-64 processors execute software under Linux. It covers instructions, registers, pipelines, caches, memory, paging, privilege levels, interrupts, and debugging tools. By distinguishing architecture from microarchitecture, it helps programmers, engineers, researchers, and students understand, analyze, secure, and optimize modern systems with confidence.

175 pages

1

18reads 110downloads
Assembly Programming with GAS (Intel Syntax) cover
2
1

Assembly Programming with GAS (Intel Syntax)

Assembly reveals how processors, memory, operating systems, and performance truly work. This second volume introduces x86-64 assembly on Linux using GAS with Intel syntax, covering assembling, linking, memory layout, calling conventions, functions, and high-level language interoperability through clear, practical, testable examples.

172 pages

1

8reads 28downloads
---
3
1

Linux System Calls and Process Control

This booklet explains Linux system calls and process control directly in x86-64 assembly, without libc or high-level abstractions. It covers kernel interfaces, registers, processes, signals, environments, memory, and execution, then builds a minimal working shell. It is designed for readers seeking a precise foundation in Linux systems programming, debugging, performance, and runtime design.

121 pages

1

5reads 21downloads
---
4
1

Memory Management and Custom Allocators

This booklet presents Linux x86-64 memory management as an architectural discipline rather than a simple `malloc/free` routine. It covers stack, heap, alignment, virtual memory, arenas, bump allocators, slabs, and hybrid designs, showing how lifetime, locality, cache behavior, TLB use, and fragmentation determine allocator performance, predictability, and long-term stability.

121 pages

1

5reads 20downloads
---
5
1

ABI and Interfacing Assembly with C/C++

This volume explains the System V AMD64 ABI as the binary contract connecting C, C++, assembly, compilers, and Linux. It covers calling conventions, registers, stack alignment, linking, GOT/PLT, inline assembly, PIE, and security features. Through practical x86-64 examples, readers learn to build safe, efficient, interoperable assembly routines for modern C++ systems.

125 pages

1

4reads 23downloads
ELF and Binary Inspection cover
6
1

ELF and Binary Inspection

This book teaches readers to inspect ELF binaries directly at the byte level using Intel-syntax x86-64 assembly and raw Linux syscalls. It explains headers, sections, symbols, relocations, string tables, and dynamic linking while avoiding libraries and automated tools. Through practical utilities, readers learn to validate executable structures and understand how Linux loads and runs programs.

120 pages

1

9reads 42downloads
Linux Kernel Module Development cover
7
1

Linux Kernel Module Development

This series explores low-level programming on modern Linux x86-64, covering CPU architecture, assembly, system calls, memory, ELF, linkers, loaders, kernel mechanisms, and runtime construction. Using Intel syntax, raw syscalls, and current toolchains, it builds precise architectural understanding for developing reliable compilers, kernels, runtimes, and performance-critical systems.

100 pages

1

5reads 18downloads
---
8
1

Low-Level Cryptography

This volume explains how cryptographic primitives are implemented directly in x86-64 assembly on Linux using GAS Intel syntax. It covers SHA-1, HMAC-SHA1, and ChaCha20, emphasizing constant-time execution, explicit register and memory control, alignment, endianness, zeroization, and microarchitectural behavior to build secure, predictable, and transparent low-level cryptographic routines.

86 pages

1

3reads 14downloads
Performance Optimization and SIMD cover
9
1

Performance Optimization and SIMD

This booklet explores performance engineering on modern x86-64 Linux systems through pipelines, caches, branch prediction, SIMD, memory access, and precise timing. Using hand-written assembly, AVX2/AVX-512, loop unrolling, FMA, tiling, and register blocking, it teaches readers to measure real hardware behavior and build software that approaches the processor’s full capability.

103 pages

1

4reads 8downloads
Book archive Page 1 of 2 Showing 1–9 of 10 books