4.2 Memory allocation

A program can allocate memory from any section/segment and initialize the memory locations at the same time. This is quite useful for initialized variables in a program.

The following is a summary of the main types of memory allocation and initialization directives: