Memory Layout

Learn about memory layout in terms of granularity.

We'll cover the following

Addresses of memory

The minimum addressable element of memory is a byte. The maximum addressable element is a double word on 3232-bit machines and a quadword on 6464-bit machines.

General registers

All general registers are 3232-bit on 3232-bit CPUs and can contain doubleword values. On 6464-bit CPUs, all general registers are 6464-bit and can contain quadword values.

The figure below shows a typical memory layout.

Get hands-on with 1200+ tech skills courses.