CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

ram & rom by function?

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
j@qmail.com
Guest







ram & rom by function?
PostPosted: Sun Jul 27, 2003 1:37 pm     Reply with quote

I am using the latest 14 bit compiler with a 16f876. Is there an easy way to see ram & rom requirements by function?

All I can find is the assembly listing.

Jay
___________________________
This message was ported from CCS's old forum
Original Post ID: 144516404
R.J.Hamlett
Guest







Re: ram & rom by function?
PostPosted: Sun Jul 27, 2003 2:10 pm     Reply with quote

:=I am using the latest 14 bit compiler with a 16f876. Is there an easy way to see ram & rom requirements by function?
:=
:=All I can find is the assembly listing.
:=
:=Jay
The answer depends (a little), on whether you are using the windowed verson, or the command line version. In the former case, select 'view', then 'call tree'. The result, is a file, showing the functions, and how 'deep' they go in terms of stack space. Alongside each function, there is then the other detail that you want. It is in the form of ROM useage, as two numbers (the bank, followed by the number of bytes), then the RAM useage.
The command line version, requires that you use the setting, to have the .tre file generated (+T). This is the file giving this detail, and will display correctly if loaded with some editors and some fonts. So if you open it with the normal 'notepad' editor, it will look odd, but if you then change the font to '8514oem', it will look correct.

Best Wishes
___________________________
This message was ported from CCS's old forum
Original Post ID: 144516405
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group