logoalt Hacker News

rurbantoday at 3:27 AM1 replyview on HN

Of which decade is this post? I cannot think of any modern architecture which still passes args on the stack.

Itanium? Stone age


Replies

jcranmertoday at 4:16 AM

If you have 29 arguments, I assure that you some of them are on the stack in nearly every architecture in use. Also, certain types as parameters also get passed on the stack (usually types larger than a register, or in C++ code, objects with nontrivial constructors or destructors).

show 1 reply