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

Initialisation of stack pointer

How do I initialise the stack pointer location to a memory location 0x80 instead of the default memory location.
Also how do i set the stack pointer to point to xdata locations.
I have tried to set the stack pointer in the c startup routine written by me,but the controller resets.Please solve my questions.
Thanks

0