Supplements

Memory layout of a loaded program

Before a program gets executed the loader for the ULM reads in an executable and initializes the memory of the ULM. In general the memory layout of a program consists of a text, data and BSS segment:

The loader setup the segments from the information provided in the program file. The general format of a program file consists of sections that can be empty: