
Write Your First Cortex-M Assembly Function and Call It From C
Write a Thumb-2 function in a .S file, declare it in C, build with arm-none-eabi-gcc 14 and see exactly how arguments and the result travel in registers.
x86-64, ARM, AArch64 and RISC-V assembly, calling conventions, SIMD, pipelines, caches and memory ordering, and reading the disassembly your compiler wrote.

Write a Thumb-2 function in a .S file, declare it in C, build with arm-none-eabi-gcc 14 and see exactly how arguments and the result travel in registers.
A32, Thumb and Thumb-2 are three ways to encode ARM instructions. See how they differ, which one a Cortex-M runs, and how to read the encodings in objdump.

A map of every core register on an ARM Cortex-M: R0 to R12, the two stack pointers, LR, PC, xPSR and the special registers, with what each one is for.

Learn IBM High Level Assembler on z/OS end to end: source format, registers, linkage, data, I/O, macros, DSECTs, dumps and modern instructions.

Learn assembly language on the 6502 and Z80, from registers and flags to loops, 16-bit math, subroutines, interrupts and tooling, with worked programs for each.

Build an x86 bootloader in NASM from a 512-byte boot sector to a loaded kernel, covering disk reads, A20, the memory map, protected mode and long mode.

A complete guide to x86-64 assembly on Linux: registers, flags, addressing, branches, the stack, calling C, atomics, encoding and a full worked program.

A full guide to x86 assembler syntax: Intel and AT&T operand order, NASM and GNU as directives, addressing modes, sections, macros, linking and porting.

Learn Cortex-M assembly end to end: registers, Thumb-2 encodings, branches, calling convention, startup, interrupts, RTOS switching, atomics, DSP and FPU.
We send one email when a new post is published. No spam.