• when stack overfolw in microcontroller
    IN C-language:- #include<stdio.h> int main() { while(1) { printf("hai\n"); } } output: hai hai hai . . . like this upto stack overflow IN EMBEDDED c:- #include<reg51.h> sbit led=P1^0; int...
  • Question about Stack and Heap in ARM microcontrollers.
    Hello! I lucking information about different's between Stack and Heap. I read few articles about this topic but, they don't give me good knowledge. Best regards Mark
  • Stack
    Hi, I want to know the order in which processor save data on stack while interrupt occurs. It will store PC, PSW, and other data i.e. registers. In which order it will save these on stack ? In...
  • Stack
    Hi All, I have this following example program, Here in this code when I simulate,The stack gets initialised to 0x69. PROG SEGMENT CODE CONST SEGMENT CODE VAR1 SEGMENT DATA BITVAR SEGMENT BIT STACK...
  • stack
    I am writing a code in embedded C.I would like to know how much should be my stack? How to calculate it?.