Skip to main content
Visitor II
December 2, 2010
Question

how to read the .map file

  • December 2, 2010
  • 3 replies
  • 1869 views
Posted on December 02, 2010 at 10:46

how to read the .map file

    This topic has been closed for replies.

    3 replies

    Super User
    May 17, 2011
    Posted on May 17, 2011 at 15:11

    On Win-XP, In my installation, I have a 'Cosmic Tools' entry under Start > All Programs.

    If you can find that, then look at Cosmic Tools > STM8 16K Compiler > Manuals > Cross Compiler User's Guide

    It's C:\Program Files\COSMIC\CXSTM8_16K\Docs\CXSTM8_UsersGuide.pdf in my installation.

    Then just search for ''.const'' or whatever in the PDF...

    Simples!
    Visitor II
    May 17, 2011
    Posted on May 17, 2011 at 15:11

    Hi,

    the user manual is in the /doc subdirectory of every compiler installed.

    As it has been suggested, look in there for the answer to your question; however, as a quick overview:

    .const     constants

    .text          code

    .data          initilized data (RAM) with 16 bit address

    .bss          non-initilized data (RAM) with 16 bit address

    .bsct          initilized data (RAM) with 8 bit address (page0)

    .ubsct          non-initilized data (RAM) with 8 bit address (page0)

    Hope it helps.

    Regards,

    Luca

    durrAuthor
    Visitor II
    May 17, 2011
    Posted on May 17, 2011 at 15:11

    Duh :) Thank you!