| ||||||||
Technical Support On-Line Manuals LX51 User's Guide | Special ROM HandlingThe LX51 Linker include special ROM (SROM) handling support that allows you to re-target memory classes and program segments at run-time. This feature allows you to create classes and segments that are stored in one location but execute from another. The most obvious use for this feature is in-system Flash programming for applications where the code to re-program the Flash is actually stored in Flash. In such applications, these routines must be moved to RAM for execution so that the re-programming process does not corrupt the re-programming code. The CLASSES and SEGMENTS directives store these SROM classes or segments at one address but link them for execution from another. To use SROM classes or segments in your program, you must:
| |||||||
| ||||||||