View Single Post
  #2  
Old 11-10-2013, 09:33
qkumba qkumba is offline
Friend
 
Join Date: Nov 2011
Posts: 14
Rept. Given: 0
Rept. Rcvd 4 Times in 4 Posts
Thanks Given: 0
Thanks Rcvd at 0 Times in 0 Posts
qkumba Reputation: 4
Your question begins with an invalid assumption. That space is reserved for register "spill", so that any special registers can be saved there if they will be used, without affecting the stack. If a function uses no special registers then the space won't be used (and might not even exist - it's compiler-dependent if it's even there).
The size of the space is fixed, so it's completely independent of the number of parameters.
Reply With Quote