cancel
Showing results for 
Search instead for 
Did you mean: 

how to read the .map file

durr
Associate II
Posted on December 02, 2010 at 10:46

how to read the .map file

3 REPLIES 3
Andrew Neil
Evangelist III
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!
luca239955_stm1_st
Senior II
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

durr
Associate II
Posted on May 17, 2011 at 15:11

Duh :) Thank you!