Jump to content
Ryan Witmer

ROM usage statistics

Recommended Posts

I've scoured the documentation looking for something like this, but haven't managed to find anything.

 

I'm using 32KB output format (-f3) and I would really like to know how much of that ROM space I'm actually using, and how much is just the fill byte.  Presently I'm forced to hexdump the binary and just estimate, it seems like there must be a better way to get this information.

 

Is there some kind of switch for this that I just haven't tracked down yet?

Share this post


Link to post
Share on other sites

Here is a macro collection from me, which we used for Aardvark. It is not well documented, but maybe you it helps you.

 

The free space macros count the free space created by ALIGN and (R)ORG and output the result. 

TJ_Macros.h

  • Like 1

Share this post


Link to post
Share on other sites
Posted (edited)

Don't forget you can get dasm to do a listing file and have a look there to see where things begin/end.

 

Edited by Andrew Davie
  • Like 1

Share this post


Link to post
Share on other sites

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...