Difference between revisions of "Stack Pointer"
From Computer History Wiki
(An OK start) |
(No difference)
|
Revision as of 21:27, 9 September 2017
A Stack Pointer (often abbreviated as SP) is a special register inside a CPU, used by the CPU to do operations on a stack held in main memory.
In many machines (e.g. the PDP-11) any of the CPU's general purpose registers can be used as a stack pointer, but there is still usually one that is 'special' to the hardware (e.g. used during the processing of interrupts), and this is usually distinguished as 'the' SP.