• stack overflow
    The following line of code seems to be causing inexplicable results if((PulsePeriod != 0)) As it is, this "if" block is entered despite the variable "PulsePeriod" having been immediately previously...
  • STACK OVERFLOW
    What stack size to put when using functions like fopen (in read mode) to prevent Hard Line Fault and overflowing the stack?? I tried by putting this Stack EQU 0x00040000 It didn't work!
  • scope of label
    Is a label local or global? For instance, two functions aa1() and aa2() are in file aa. A label L is placed in aa1(). Another function bb() is located in bb file. Which function(s) can access the label...
  • Scope of #pragma
    If I declare: #pragma optimize(0) void func1(void) ... void func2(void) ... void func3(void) ... Does this apply only for func1 or for all subsequent functions (i.e. func2,func3,etc)?...
  • How to know stack overflow
    I have a question. How to know maximum stack of my program and stack overflow? beacause my program can lock when power have unstatable.