Map file analysing...

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Map file analysing...

1,150件の閲覧回数
Iko
Contributor II

Hi all. i'm working on HCS08DZ60.

 

I want to analyse the map file to know ram usage (without stack)...

 

Could you confirm me that, to know RAM usage without stack, i just need to add:

- Data segment

- Bss segmant

- Common segment

 

In this case, in my map file (joined) could you confim me that i'm using 1463 bytes of RAM?

 

Tanks in advance.

ラベル(1)
0 件の賞賛
返信
2 返答(返信)

896件の閲覧回数
bigmac
Specialist III

Hello Iko,

 

It may also be useful to view the section "Object list sorted by address", where it can be seen the the non-stack RAM usage commences at address 0x200, through to address 0x7B6, a span of 0x5B7 (1463) bytes.

 

Regards,

Mac

 

0 件の賞賛
返信

896件の閲覧回数
kef
Specialist I

Close. You forgot to add stack size. Also, if you used zero page RAM, you should could it too. Look at this line:

READ_WRITE (R/W):      6B8 (dec:     1720)

Of course READ_WRITE figure may not always work as RAM usage indicator, since you may create your own NO_INIT N/I segments and place there variables that don't need to be zeroad at startup, making srtartup taking less time.

0 件の賞賛
返信