







Why is x86 little-endian? Why are registers called AX, BX, CX, and DX, and why DOS uses addresses in the format A000:0000? The answers are in the story of how each chip was born.
x86 calling conventions
This article describes the calling conventions used when programming x86 architecture microprocessors.
How Computers Calculate - the ALU: Crash Course Computer Science #5
NASM x64 Assembly
Here's the full list of ordinary integer x86 registers. The 64 bit registers are shown in red. "Scratch" registers any function is allowed to overwrite, and use for anything you want without asking anybody. "Preserved" registers have to be put back ("save" the register) if you use them.
A history of ARM, part 1: Building the first chip
In 1983, Acorn Computers needed a CPU. So 10 people built one.

p-code
Niklaus Wirth specified a simple p-code machine in the 1976 book Algorithms + Data Structures = Programs. The machine had 3 registers - a program counter p, a base register b, and a top-of-stack register t. There were 8 instructions:
stack-based
Stack machines are arguably the simplest kind of computer architecture. Their LIFO structure is quite suitable for block-oriented languages. The code size for a stack machine can be very compact because most instructions have no operand field.
From bootloader to kernel
If you've read my earlier posts about assembly language for Linux x86_64, you might see that I started to get interested in low-level programming. I've written a set of articles on assembly programming for x86_64 Linux and, in parallel, began exploring the Linux kernel source ...

Programming in the Machine Code Space: LLMs can read & write executables byte by byte
With only a hex dump, no tools and one reply, a frontier LLM explains compiled programs, adds features by editing their bytes, and writes working executables from scratch.

Chip8
CHIP-8 is a virtual machine created by RCA engineer Joe Weisbecker in 1977 for the COSMAC VIP microcomputer. The Chip-8 language is capable of accessing up to 4KB(4096 bytes) of RAM, from location 0x000 to 0xFFF(0-4095). The first 512 bytes, from 0x000 to 0x1FF, are where the original interpreter was located, and should not be used by programs.
"Concatenative programming and stack-based languages" by Douglas Creager
x86 and amd64 instruction reference
No longer updated. Visit the official Intel online documentation.
Linux System Call Tables by Architecture · syscall.sh
The Linux syscall table for 38 architectures: every system call number, argument and register, with a table per architecture, from Linux 3.3 to 7.3.

What Even Is An OS Now?
Computers now work the way I thought they did when I was 8. What does computing look like when most applications have an audience of 1-2 people? I'm leaving Fly.io to build a phone for that world.

[DSCTF 2019] CPU Adventure – Unknown CPU Reversing
or: reverse-engineering a custom, unknown CPU from a single programtl;dr: We reverse-engineered a program written for a completely custom, unknown CPU architecture, without any documentation for th…

What I Found Interesting in Claude Code's Source
A breakdown of the most interesting engineering patterns in Claude Code's leaked source code: composable system prompts, runtime instruction injection, context compression, forking, prompt caching architecture, and more.
P-code machine
In computer programming, a P-code machine (portable code machine[1]) is a virtual machine designed to execute P-code, the assembly language or machine code of a hypothetical central processing unit (CPU). The term P-code machine is applied generically to all such machines (such as the Java virtual machine (JVM) and MATLAB pre-compiled code), as well as specific implementations using those machines. One of the most notable uses of P-Code machines is the P-Machine of the Pascal-P system. The developers of the UCSD Pascal implementation within this system construed the P in P-code to mean pseudo more often than portable; they adopted a unique label for pseudo-code meaning instructions for a pseudo-machine.