Global Information Lookup Global Information

Stack register information


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).

  1. ^ Cite error: The named reference Salomon_1993 was invoked but never defined (see the help page).

and 25 Related for: Stack register information

Request time (Page generated in 0.8269 seconds.)

Stack register

Last Update:

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...

Word Count : 905

Stack machine

Last Update:

number of processor registers. Stack machines extend push-down automata with additional load/store operations or multiple stacks and hence are Turing-complete...

Word Count : 5809

Stack buffer overflow

Last Update:

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...

Word Count : 2647

Reverse Polish notation

Last Update:

notation with only three stack levels with working registers X ("keyboard"), Y ("accumulate") and visible storage register Z ("temporary"), a reverse...

Word Count : 6764

Call stack

Last Update:

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...

Word Count : 3569

X86 assembly language

Last Update:

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...

Word Count : 6902

X86 calling conventions

Last Update:

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...

Word Count : 4787

I486

Last Update:

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...

Word Count : 4001

Processor register

Last Update:

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)...

Word Count : 1532

Procedural programming

Last Update:

processors provide hardware support for procedural programming through a stack register and instructions for calling procedures and returning from them. Hardware...

Word Count : 985

CSG 65CE02

Last Update:

were used as pseudo-registers, could now be moved to any page in main memory using the B(ase page) register. The stack register was widened from 8 to...

Word Count : 2145

X86

Last Update:

x87 FPU stack registers. Hence, anything that was done to the floating-point stack would also affect the MMX registers. Unlike the FP stack, these MMn...

Word Count : 10709

X86 instruction listings

Last Update:

FSTP ST(0) is a commonly used idiom for popping a single register off the x87 register stack. Intel x87 alias opcode. Use of this opcode is not recommended...

Word Count : 15681

FLAGS register

Last Update:

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...

Word Count : 805

Stack Exchange

Last Update:

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,...

Word Count : 4723

Stack Overflow

Last Update:

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...

Word Count : 2637

Java virtual machine

Last Update:

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...

Word Count : 3411

Calling convention

Last Update:

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...

Word Count : 4158

HP 35s

Last Update:

"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...

Word Count : 3652

X87

Last Update:

another stack register using an instruction called FXCH ST(x). These properties make the x87 stack usable as seven freely addressable registers plus a...

Word Count : 2340

Intel 8086

Last Update:

8086 was die-shrunk to 2 μm in 1981; this version also corrected a stack register bug in the original 3.5 μm chips. Later 1.5 μm and CMOS variants were...

Word Count : 5217

Buffer overflow protection

Last Update:

overflows on stack-allocated variables, and preventing them from causing program misbehavior or from becoming serious security vulnerabilities. A stack buffer...

Word Count : 2831

Stack effect

Last Update:

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...

Word Count : 1487

MOS Technology 6502

Last Update:

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...

Word Count : 10952

Shadow stack

Last Update:

Unlike the call stack, which also stores local program variables, passed arguments, spilled registers and other data, the shadow stack typically just stores...

Word Count : 590

PDF Search Engine © AllGlobal.net