/Tag: embedded system

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 [...]

By |2017-04-02T17:58:23+00:00April 2nd, 2017|Categories: Explained Simply|Tags: , |1 Comment

The Concept of Stack and Its Usage in Microprocessors

Overview In general we can describe the stack as a temporary storage for data.  The access to data in the stack is organized as Last In First Out (LIFO), which means that the last data stored in the stack is the first than can be retrieved and the first data stored in the stack is the last [...]

By |2017-03-18T19:39:06+00:00March 18th, 2017|Categories: Explained Simply|Tags: , |1 Comment