Topic : Stack measurement for AT89c52

Forum : 8051

Original Post
Post Information Post
June 4, 2007 - 11:01am
Guest

Hello all,
I want to measure the stack consumption on AT89c52 from ATMEL. It has 256 bytes of internal RAM. How to I measure the same if I am using small memory model.

Replies
Post Information Post
+1
0
-1
June 4, 2007 - 6:00pm
Guest

you can't 'measure'

initialize all unused RAm with e.g. '?' run your code for hours in your ICE, then stop and what is not still '?' has been used.

Erik