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 word on 32-bit machines and a double word on 64-bit machines.

General registers

All general registers are 32-bit on 32-bit CPUs and can contain word values. On 64-bit CPUs, all general registers are 64-bit and can contain double word values.

The picture below shows a typical memory layout.

Get hands-on with 1200+ tech skills courses.