| |||||
Technical Support Support Resources
Product Information | LX51: LOCATING A SEGMENT'S ENDING ADDRESSInformation in this article applies to:
QUESTIONI must locate a specific string (whose length will vary from build to build) at the end of a 32KB code ROM. Is there any clever way to do this? ANSWERYes. The LX51 Linker allows you to locate a segment by specifying its ending address. To use this feature for your application you must:
This locates the segment ?CO?Version (that holds the version string) so that it ends at address C:0x7FFF. If you use the µVision2 IDE, you must select the extended LX51 linker/locater and, under Options for Target - LX51 Locate - Segments:, enter ?CO?Version (^C:0x7FFF). MORE INFORMATION
Last Reviewed: Friday, July 15, 2005 | ||||
| |||||