Position of the stack pointer
In Assembly Language Programing , if we use a stack then we have to allocate some memory for the stack.Now , my question is if we give the space from 1000h to 2000h in memory then what will be the position of stack pointer. Is it 1000h or 2000h๐
And when we push an element into the stack there are two possibilities:
1. first decrement the stack pointer and then pushes the given element on to the stack.
2.first pushes the element onto the stack and then decrement the stack pointer
which is correct๐