answersLogoWhite

0

What is stack space?

Updated: 12/24/2022
User Avatar

Wiki User

16y ago

Best Answer

A type of RAM that is organized as a stack. or part of RAM that has software to make it operate like a stack. A stack memory operates like one of those chip dispensers they use in Los Vegas. You push the chips onto the stack. When you remove one (called a pop), it was the one on the top, the last one you put in. The first one you put in is the last one you take out. They are used by certain types of computer hardware and software that needs data accessed in that way, FILO (first in last out) and LIFO (last in first out). For example subroutine return addresses. When the CPU executes a subroutine call, the return address is pushed on the stack. The subroutine may call another subroutine, with another return address pushed on the stack. And more. then when the subroutines are exited, the addresses are POPed off the stack and executed. The use of a stack ensures the returns are all executed in the correct order.

User Avatar

Wiki User

16y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is stack space?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is peep stack?

It is the space between the balls and the penis!!


Gel filled space in the chloroplast surrounding thylakoid stack?

The gel-filled space inside the chloroplast surrounding the thylakoid stack is called the stroma.


Where does the Java virtual machine keep space for local method variables?

In stack


Which register bank shares space with the stack?

its the ram locations 00-1fh


Which register bank uses the same RAM space as the stack?

Bank 1


Do audio racks save space in a person's home?

Racks do save space. You can hang these on the wall or stack them in the corner to where they are out of the way.


What does stackable mean?

Stackable is a stack of items that requires only one inventory space.


Which actor-a future space Traveller-made his film debut playing a Russian?

stop trying to cheat on the stack questions stop trying to cheat on the stack questions


What is the purpose of the program stack?

Its main use is to store local variables, arguments and return address each time a function is called.When your program calls a function the following happen :- The function arguments are put on the stack- The current instruction pointer is put on the stack- The program jumps to the start of the function- Space is allocated on the stack to hold local variables- The function executes- The space holding local variables is de-allocated- The instruction pointer is restored and removed from the stack (we are now leaving the function and resuming the calling procedure)- The arguments are removed from the stack


How much space does it take to stack up 387 million dollars in 100 dollar bills need?

387X43"= 1 stack 16641" tall or---1386.75 feet tall


Which function call Does not consume stack space?

Calling an in-line function, which is not actually a function-call.


Why stack pointer is of 16 bit in 8085?

The stack pointer is 16 bits in size on the 8085 because that is how Intel designed it. The address bus is also 16 bits, so it made sense for the program and stack to be located anywhere in that address space.