encyclopegia.org

Stack register

A stack register, also known as a stack pointer, is a computer central processor register whose purpose is to keep track of a call stack. On an accumulator-based architecture machine, this may be a dedicated register. On a machine with multiple general-purpose registers, it may be a register that is reserved by convention, such as on the IBM System/360 through z/Architecture architecture and RISC architectures, or it may be a register that procedure call and return instructions are hardwired to use, such as on the PDP-11, VAX, and Intel x86 architectures. Some designs such as the Data General Eclipse had no dedicated register, but used a reserved hardware memory address for this function. Machines before the late 1960s—such as the PDP-8 and HP 2100—did not have compilers which supported recursion. Their subroutine instructions typically would save the current location in the jump address, and then set the program counter to the next address. While this is simpler than maintaining a stack, since there is only one return location per subroutine code section, there cannot be recursion without considerable effort on the part of the programmer. A stack machine may have 2 or more stack registers — one of them keeps track of a call stack, the other(s) keep track of other stack(s).

A stack register, also known as a stack pointer, is a computer central processor register whose purpose is to keep track of a call stack. On an accumulator-based architecture machine, this may be a dedicated register. On a machine with multiple general-purpose registers, it may be a register that is reserved by convention, such as on the IBM System/360 through z/Architecture architecture and RISC architectures, or it may be a register that procedure call and return instructions are hardwired to use, such as on the PDP-11, VAX, and Intel x86 architectures. Some designs such as the Data General Eclipse had no dedicated register, but used a reserved hardware memory address for this function. Machines before the late 1960s—such as the PDP-8 and HP 2100—did not have compilers which supported recursion. Their subroutine instructions typically would save the current location in the jump address, and then set the program counter to the next address. While this is simpler than maintaining a stack, since there is only one return location per subroutine code section, there cannot be recursion without considerable effort on the part of the programmer. A stack machine may have 2 or more stack registers — one of them keeps track of a call stack, the other(s) keep track of other stack(s).

References

No reference rows published for this article.

Cite this article

MLA

"Stack register." encyclopegia.org, 2026, https://encyclopegia.org/wiki/stack-register. Accessed 24 November 2026.

Chicago

"Stack register." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/stack-register.

APA

encyclopegia.org. (2026). Stack register. Retrieved November 24, 2026, from https://encyclopegia.org/wiki/stack-register

Accessed November 24, 2026 · CC BY-SA 4.0 · citation page · JSON

Related articles

Thejas

enwiki · references available

Djibril Sidibé (footballer, born 1982)

enwiki · references available

Nico Mattan

enwiki · references available

Henry Downey

enwiki · references available

Kyle Moran

enwiki · references available

1897 FA Cup final

enwiki · references available

John Lindsay of Balcarres, Lord Menmuir

enwiki · references available

Henry Samuel Morais

enwiki · references available

Neil Banfield

enwiki · references available

Clint Evans

enwiki · references available

William H. Thompkins

enwiki · references available

Charles (short story)

enwiki · references available
CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1336518714 · 0.5 · snapshot enwiki-001336518714

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.