I would like to construct an xdata memory map for debugging purposes, but it seems that the LX51 MAP file does not contain enough information to do this.
What I would like to do: 1. Take the symbol table from the MAP file 2. Grep all XDATA symbols. 3. Sort them by starting address. ...and end up with a nice memory map.
This leaves me with two problems: a) The symbol table does not list the length of each symbol (only for simple data types like BYTE, arrays and structs are simply listed as "---") b) Variables located with the _at_ keyword are not included in the symbol table at all.
Is there any way to get this information out of the MAP file? Or is there another way to contruct the memory map altogether?
Background info: I am using LX51 v4.47a and I am not using the PRINTCONTROLS linker directive to suppress any output.
Thanks, Jakob