How does a frame pointer works?

Hello everyone,

maybe a stupid question, but how exactly does a frame pointer works? I know that we use them when we want to allocate more memory on a stack (Using constant offsets is impossible then), and that the frame pointer is a register (In MIPS the register 30). But how exactly does this work?

Thanks in advance
Florian

We’re going to talk about stack frames on Tuesday

3 Likes