Skip to content

Memory Segments

Keyhan Vakil edited this page Aug 15, 2017 · 4 revisions

Memory is divided into four different segments: text, static, heap and stack.

Segment Starting Address
text 0x0000_0000
static 0x1000_0000
heap 0x1000_8000
stack* 0x7fff_fff0

* Unlike other memory segments, the stack grows towards smaller addresses.