For broader coverage of stack pointers, see Stack (abstract data type) § Basic architecture of a stack, and Call stack § Structure.
A stack register 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.[1] 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 has 2 or more stack registers — one of them keeps track of a call stack, the other(s) keep track of other stack(s).
^Cite error: The named reference Salomon_1993 was invoked but never defined (see the help page).
A stackregister is a computer central processor register whose purpose is to keep track of a call stack. On an accumulator-based architecture machine...
number of processor registers. Stack machines extend push-down automata with additional load/store operations or multiple stacks and hence are Turing-complete...
In software, a stack buffer overflow or stack buffer overrun occurs when a program writes to a memory address on the program's call stack outside of the...
notation with only three stack levels with working registers X ("keyboard"), Y ("accumulate") and visible storage register Z ("temporary"), a reverse...
known as an execution stack, program stack, control stack, run-time stack, or machine stack, and is often shortened to simply "the stack". Although maintenance...
register for MOVE CX count for string operations & shifts DX port address for IN and OUT SP points to top of the stack BP points to base of the stack...
stack, placed in registers, or a mix of both) Which registers the called function must preserve for the caller (also known as: callee-saved registers...
selector" registers could be set to a neutral value in protected mode, or to zero in real mode, and using only the 32-bit "offset registers" (x86-terminology...
exist. The stack pointer is used to manage the run-time stack. Rarely, other data stacks are addressed by dedicated address registers (see stack machine)...
processors provide hardware support for procedural programming through a stackregister and instructions for calling procedures and returning from them. Hardware...
were used as pseudo-registers, could now be moved to any page in main memory using the B(ase page) register. The stackregister was widened from 8 to...
x87 FPU stackregisters. Hence, anything that was done to the floating-point stack would also affect the MMX registers. Unlike the FP stack, these MMn...
FSTP ST(0) is a commonly used idiom for popping a single register off the x87 registerstack. Intel x87 alias opcode. Use of this opcode is not recommended...
8086 code, with 16-bit registers pushed onto the stack, ; and the flags register is only 16 bits with this CPU. pushf ; Use the stack to transfer the FLAGS...
stackexchange.com Stack Exchange is a network of question-and-answer (Q&A) websites on topics in diverse fields, each site covering a specific topic,...
Stack Overflow is a question-and-answer website for computer programmers. It is the flagship site of the Stack Exchange Network. It was created in 2008...
fixed stack location, allowing the JIT compiler to transform stack accesses into fixed register accesses. Because of this, that the JVM is a stack architecture...
with these transfers typically done via certain registers or within a stack frame on the call stack. There are design choices for how the tasks of preparing...
"guesses" which it assumes to have been provided by the user, in the stack's X register, and in the variable's existing value. It may be integrated, using...
another stackregister using an instruction called FXCH ST(x). These properties make the x87 stack usable as seven freely addressable registers plus a...
8086 was die-shrunk to 2 μm in 1981; this version also corrected a stackregister bug in the original 3.5 μm chips. Later 1.5 μm and CMOS variants were...
overflows on stack-allocated variables, and preventing them from causing program misbehavior or from becoming serious security vulnerabilities. A stack buffer...
The stack effect or chimney effect is the movement of air into and out of buildings through unsealed openings, chimneys, flue-gas stacks, or other containers...
very few registers. They include A = 8-bit accumulator register P = 7-bit status register n = negative v = overflow b = break (only in stack values, not...
Unlike the call stack, which also stores local program variables, passed arguments, spilled registers and other data, the shadow stack typically just stores...