Quantcast
Channel: Query on Stack pointer use in Assembly Language - Stack Overflow
Viewing all articles
Browse latest Browse all 3

Query on Stack pointer use in Assembly Language

$
0
0

I was ready a article posted on wikipedia on Tail recursion: http://en.wikipedia.org/wiki/Tail_call

Now here at the end of the article, the example shows Stack Pointer being used to access the arguments passed to the function call in the assembly pseudo code. Isn't this wrong? I mean the arguments are accessed by the callee by using the frame pointer right rather than the stack pointer?


Viewing all articles
Browse latest Browse all 3

Trending Articles





<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>