 | L166 User's Guide |  |
|
|
| Locating SectionsAfter the sections are combined the L166 Linker determines their location in memory using the section type, alignmant type, and information specified by the SECTIONS, CLASSES, and GROUPS directives. The L166 Linker allocates memory in the following order: - Interrupt vectors.
- Absolute register banks.
- Absolute sections (specifies with the at attribute).
- Sections specified in the L166 sections directive.
- Other register banks.
- Bit-addressable data sections.
- Bit sections.
- Classes whose range is smaller than a data page (16K).
- Groups specified with the L166 groups directive.
- Groups containing an absolute section.
- Other groups.
- Sections with a class name.
- Other sections.
Related Knowledgebase Articles |
|