• Calculating the Stack Space
    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...
  • Calculation of stack sizes...
    Hallo I wonder if there are any good methodes of calculating the stack size for ex user or IRQ stack size? Is there any "best practice"? Or is it just add up the size of data structures and/ot...
  • Problem with calculation
    Hi I have been trying to use the equation: int Temp; Temp = 680*((N-82)/(920-82)); return Temp; N=920 - I would expect temp would be 680 and the result is 680 which is correct But...
  • 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...
  • Calculate free remaining stack space
    Hi, I would like to calculate the free remaining stack space during run time. I tried to access the r13 register with: LPSTR pcSP; { register volatile int mySP __asm("sp"); pcSP= (LPSTR)mySP;...