| |||
| Home > Using the Basic Linker Functionality > Specifying the image structure > Load view and execution view of an image | |||
Image regions are placed in the system memory map at load time. Before you can execute the image, you might have to move some of its regions to their execution addresses and create the ZI output sections. For example, initialized RW data might have to be copied from its load address in ROM to its execution address in RAM.
The memory map of an image has the following distinct views (as shown in Figure 3.2).
Describes each image region and section in terms of the address it is located at when the image is loaded into memory, that is, the location before the image starts executing.
Describes each image region and section in terms of the address it is located at while the image is executing.
Table 3.1 compares the load and execution views.
Table 3.1. Comparing load and execution views
| Load | Description | Execution | Description |
|---|---|---|---|
| Load address | The address where a section, or region is loaded into memory before the image containing it starts executing. The load address of a section or a non-root region can differ from its execution address. | Execution address | The address where a section or region is located while the image containing it is being executed |
| Load region | A region in the load address space. | Execution region | A region in the execution address space |