Jump to content

Recommended Posts

Posted

Hello,

 

Can someone please tell me what a return stack is, or suggest me some useful links? I could not find anything useful on the internet. Is it also called as "call stack"?

 

Thank you.

Posted

In computer science, a call stack is a stack data structure that stores information about the active subroutines of a computer program.

/Snip/

A call stack is used for several related purposes, but the main reason for having one is to keep track of the point to which each active subroutine should return control when it finishes executing.

http://en.wikipedia.org/wiki/Call_stack

Posted

It depends on what programming language you use, I normally don't use this type of high level language so I can't say for certain, but:

 

In the Forth programming language, for example, ordinarily only the return address, counted loop parameters and indexes, and possibly local variables are stored on the call stack (which in that environment is named the return stack)

http://en.wikipedia.org/wiki/Call_stack#Functions_of_the_call_stack

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.