Keil Logo

BL51: OBTAINING THE MEMORY MAP OF A PROJECT


Information in this article applies to:

  • C51 Version 5.50

QUESTION

I need to find the memory map for my project. For example, where is the linker placing different code segments and how much code, data and idata memory am I using? I am calling the linker from the command line.

ANSWER

When you call the linker, you need to use the PRINT directive to generate a linker listing (map) file. For example:

BL51 MYPROG.OBJ TO MYPROG.ABS PRINT(MYPROG.M51)

will generate the file MYPROG.M51 containing the memory map, symbol table, library routines used, etc.

MORE INFORMATION

  • Refer to PRINT in the BL51 User's Guide.

Last Reviewed: Tuesday, July 19, 2005


Did this article provide the answer you needed?
 
Yes
No
Not Sure
 
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.