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

stack initislization in 8051

Hi All,
In 8-bit microcontrollers which has upper 128 bytes of internal indirectly addressable RAM, Is stack initilizes from this upper or lower internal RAM address?

Thanks and Regards,
Ashutosh Tiwari

Parents
  • Consider ... The map is configured to have a stack starting in register bank one, then there is (arguably) no need to set the stack.
    I have no idea what whatever map you are talking about is configured to.

    However, leaving the stack pointer at 8 is, of course, possible if your world is upside down and you start allocating variables from the top.

    Erik

Reply
  • Consider ... The map is configured to have a stack starting in register bank one, then there is (arguably) no need to set the stack.
    I have no idea what whatever map you are talking about is configured to.

    However, leaving the stack pointer at 8 is, of course, possible if your world is upside down and you start allocating variables from the top.

    Erik

Children