↧
Answer by John Knoeller for Query on Stack pointer use in Assembly Language
Using the stack pointer is fine. It always points to the stack after all. It's just a little difficult to keep track of offsets from the stack pointer to the function arguments if there are any push or...
View ArticleAnswer by Alex Martelli for Query on Stack pointer use in Assembly Language
A dedicated frame pointer register is definitely a more popular calling convention in common ABIs, but there's nothing intrinsically "wrong" in using a different (possibly simpler) calling convention...
View ArticleQuery on Stack pointer use in Assembly Language
I was ready a article posted on wikipedia on Tail recursion: http://en.wikipedia.org/wiki/Tail_callNow here at the end of the article, the example shows Stack Pointer being used to access the arguments...
View Article