stack pointer


Also found in: Acronyms.

stack pointer

[′stak ‚pȯint·ər]
(computer science)
A register which contains the last address of a stack of addresses.
McGraw-Hill Dictionary of Scientific & Technical Terms, 6E, Copyright © 2003 by The McGraw-Hill Companies, Inc.

stack pointer

(architecture, programming)
(SP) A register or variable pointing to the top of a stack.
This article is provided by FOLDOC - Free Online Dictionary of Computing (foldoc.org)

stack pointer

An address that identifies the location of the most recent item placed on the stack. See stack trace.
Copyright © 1981-2019 by The Computer Language Company Inc. All Rights reserved. THIS DEFINITION IS FOR PERSONAL USE ONLY. All other reproduction is strictly prohibited without permission from the publisher.
References in periodicals archive ?
A dedicated register contains a stack pointer which indicates where to unwind the runtime stack to.
If we were simply to do the opposite of what was done for register saves in function prologs, the code resulting from procedural abstraction at each return block for a function might have the following structure, with three instructions to manage the control transfers and stack pointer update:
The report also includes the thread ID, memory address, type of memory access, and important register values such as the program counter and stack pointer. When used in conjunction with the program's source code, we have found that this information is usually sufficient to locate the origin of the race.
SP is the stack pointer register that points to the top of the stack.
An efficient but architecture-specific implementation of this test would be a comparison of the address of the table with the current stack pointer. A portable solution for testing if a signature table is in static memory would be to include an additional flag in the signature table.
Ghiya and Hendren [1996a] provide a context-sensitive connection analysis that can determine if two stack pointers can reach a common heap element.