Stackframe handling depends on platform

Peter Bühler p1buehle@hsr.ch
Fri Jan 7 09:55:00 GMT 2005


I'm searching for reasons, why the stackframe is handled different for i386
and i686 platforms.
On platform i386, function parameters are pushed to the stack and therefore
to adresses lower than the stackpointer.
On platform i686 parameters are moved to the stack and are placed to
adresses which are higher than the stackpointer.
Why is the second way to do it better for the i686 platform?

regards
Peter Bühler



More information about the Gcc-help mailing list