Skip to content
systemcoding.dev
Topic

Assembly

x86-64, ARM, AArch64 and RISC-V assembly, calling conventions, SIMD, pipelines, caches and memory ordering, and reading the disassembly your compiler wrote.

Flat illustration of an assembly listing with addresses and mnemonics, with the GNU, Linux and AMD logos.
Assembly

Assemble and Link a GNU as Program on Linux

Assemble a GNU as source file on Linux x86-64 and link it three ways: with ld as a freestanding program, with gcc and libc, and with gcc driving as itself.

6 min read
Flat illustration of an assembly listing with addresses and mnemonics, with the Arm, Intel and AMD logos.
Assembly

The AAPCS Calling Convention on 32-Bit ARM

The AAPCS rules for 32-bit ARM and Cortex-M: argument and result registers, what a callee must preserve, 64-bit pairs, stack alignment and hard-float.

6 min read

Get new posts by email

We send one email when a new post is published. No spam.

Unsubscribe in one click. No spam, ever.