stackpointer

noun
UK /ˈstækˌpɔɪntə/
US /ˈstækˌpɔɪntər/

A stack pointer is a special marker in a computer that remembers where the top of a pile of saved information is.

The program moved the stack pointer to make room for a new value.


OTHER MEANINGS

2. A register in a CPU that holds the address of the most recently added item on the call stack.

When the function returned, the stack pointer was restored to its previous value.

3. A pointer variable used in software to track the current top element of a stack data structure.

The parser keeps a stack pointer to know which bracket it is currently inside.

4. A hardware signal or value indicating the boundary of the stack area in memory.

The debugger showed the stack pointer near the limit, warning of a possible overflow.