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
How do I initialise the stack pointer location to a memory location 0x80 instead of the default memory location. The instruction
mov sp,#80H
mov sp,#7FH.