Hi, I'm trying to find out the meaning of the following entry in a MAP file generated by a Lx51 linker.
Memory Map Section:
00255FH 0026A9H 00014BH BYTE UNIT CODE ?CO?APK_PRCSMOD
APK_PRCSMOD is one of the modules in my code.
What I need to know is what information is stored in this range of addresses. I could understand it's meaning if it's a function or a variable , but what's the meaning of referencing a whole UNIT?
The prefix ?CO? indicates it belongs to the CONST memory class (Constant data in program memory), but there are no explicit const vars defined.
So I'm a bit lost...
UNIT is a relocation type. The only other kind that appears in my listings is ABSOLUTE, so I would infer that UNIT is a relocatable block of n bytes that should stay together.
The ?CO? prefix holds data that goes in the CODE memory space, but is not executable. Some candidates: - Any strings you used in segment APK_PRCSMOD, - Look up tables (e.g. sine wave values) you stored in CODE space
It is not tied to the const reserved word.
============================================================ Gary Lynch | To send mail, no$pam in domain name lynchg@no$pam.com | must be changed to stacoenergy.
Yes, that was it! It was some of the strings used in the module.
Thanks a lot Gary!