
ARM Cortex-M Registers: R0-R12, SP, LR, PC and xPSR
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.
Tag
445 posts

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 Zephyr RTOS from install to first threads: west, Kconfig, devicetree, the build, kernel services, logging, debugging and tests, with FreeRTOS comparisons.

Learn file descriptors on Unix and Linux from open and close to dup2, fork, pipes, limits, leaks, passing between processes and the kernel tables behind them.

Learn ESP32 firmware with ESP-IDF v5.4: install the toolchain, build a project, use FreeRTOS tasks, GPIO, NVS, Wi-Fi, HTTP, OTA and debugging, with code.

A hardware description language describes circuits that all run at once, not steps. See how concurrency, wires and registers change how you read Verilog.

Linux has eight namespace types: mount, PID, network, IPC, UTS, user, cgroup and time. Each one gives a process its own view of one kind of kernel resource.

Linux capabilities split root's power into about forty separate privileges, so a process can bind port 80 without being able to load kernel modules.

Undefined behavior means the C standard sets no rules for a program, so anything can happen. Learn what it is, why C keeps it, and how to stay out of it.

Learn the FFmpeg pipeline of demuxer, decoder, filter, encoder and muxer, and how every command-line option attaches to one of those stages.

A socket is a file descriptor for one end of a network conversation. Learn addresses, ports and the Berkeley sockets calls in C on Linux.

Asynchronous I/O lets one thread wait on many sockets at once; an async runtime polls futures and sleeps in epoll until the kernel reports readiness.

Build a static library from object files with ar rcs, link a program against it with -L and -l, and see how the linker pulls in only the members it needs.