Salut,

Some comments and references on [1]:

* nu mereu argumentele și valorile de return sunt puse pe stivă.  Look
no further than x86_64 [2] or the link register [3];

* stiva nu crește în jos peste tot (ai zis asta), dar poate ajută un
link [4] – e foarte interesant;

* un stack frame nu e creat la fiecare function call (cred) – poate ar
trebui menționate funcții inline?

[1] http://techblog.rosedu.org/stack-allocation.html
[2] 
http://en.wikipedia.org/wiki/X86_calling_conventions#x86-64_calling_conventions
[3] http://en.wikipedia.org/wiki/Link_register
[4] 
http://stackoverflow.com/questions/664744/what-is-the-direction-of-stack-growth-in-most-modern-systems

Anyways, nice read, îmi place că nu are cuvinte în plus față de informație.

Vlad
_______________________________________________
http://lists.rosedu.org/cgi-bin/mailman/listinfo/rosedu-general

Raspunde prin e-mail lui