The GAS Manual logo The GAS Manual

General-purpose registers

Sixteen 64-bit registers, each with 32-, 16- and 8-bit names that alias its low bits. Click a row for the full description and syscall role.

64-bit32-bit16-bit8-bit Special purpose When calling a function When writing a function

Special registers

Not general purpose — the CPU gives these a fixed job. Click one for a full page with usage, pitfalls and examples.

RegisterRole

The flags register — rflags

Written as a side effect of arithmetic, read by conditional instructions.