Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[SOLVED] How to calculate Stack size?

Status
Not open for further replies.

amayilsamy

Advanced Member level 1
Joined
Feb 5, 2013
Messages
420
Helped
38
Reputation
76
Reaction score
34
Trophy points
1,308
Location
Chennai,India
Activity points
3,370
Hi All,

I want know how to calculate the stack size for the one program

Thanks to all
 

Just see the compiler's log after build your program; at least with gcc it is possible, so I would guess there is the same feature with others.
 

Hi thanks for the reply.

Is there possible to calculate after writing..?
 

I would not say 'calculate' once you are in a program scope, but rather to say 'simulate'. You can do it by your own, manually taking note of the result of execution of each instruction on your code seeing how many Call(assembly) were made with no return, line by line, step by step; good luck.
 
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top