The Concept of Heap and Its Usage in Embedded Systems
Overview A typical memory representation of a C language program consists of following segments: Code (Text) segment - contains the program code (machine instructions) Data segment - contains the static data (global/static variables) Stack segment (see our article on the topic The Concept of Stack and Its Usage in Microprocessors) Heap segment Fig.1 Memory Segments