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-bit | 32-bit | 16-bit | 8-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.
| Register | Role |
|---|
The flags register — rflags
Written as a side effect of arithmetic, read by conditional instructions.