Stack pointer (source code)

= Stack pointer
{title2=SP}

A <processor register> identifying the current position in a stack, commonly a <call stack>; the exact convention depends on the architecture. Restoring a <stack pointer> selects the saved stack position, rather than copying the whole <call stack>.