cpu registers - What's the initial position of the Frame Pointer -



cpu registers - What's the initial position of the Frame Pointer -

when phone call function, create utilize of stack pointer , framer pointer. know function , initial position of sp, how fp?

the dependent on architecture, , should documented in abi manual.

typically, functions not rely on frame pointer beingness initialized before prologue, rather store value on stack , subsequently set frame pointer current stack pointer (so next frame pointer, find frame pointer previous function @ fixed offset).

keep in mind frame pointer optional of time (you need if not have debugging info , want follow phone call stack, or if current function used alloca, otherwise register going waste.

cpu-registers isa

Comments

Popular posts from this blog

php - Android app custom user registration and login with cookie using facebook sdk -

django - Access session in user model .save() -

php - .htaccess Multiple Rewrite Rules / Prioritizing -