This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Calculating the Stack Space and the code size

1) Is there any method of determining whether the stack space allocated is enough for the program execution.

2) Is there any feature in UVision 2 to determing the code size generated by the hex file.

Mohit

Parents
  • Does it mean that the C51 doesnot take care the amount of stack space required? This can lead to a chaos during program execution if any variables were defined at that location.

    If we donot use the interrrupts, then what is the criterion for allocating the stack space?

    Mohit

Reply
  • Does it mean that the C51 doesnot take care the amount of stack space required? This can lead to a chaos during program execution if any variables were defined at that location.

    If we donot use the interrrupts, then what is the criterion for allocating the stack space?

    Mohit

Children
No data