Snippets

Contents

Snippets#

Short pieces of assembly the operator pastes into a .s / .asm scratch file or as inline asm in a C program.

One-liners

Common x86-64 instruction patterns: zero a register, align the stack, syscall, cpuid query.

One-liners

References#

  • Operators for the instructions these snippets use.