Where is the base in an empty ascending stack in ARM Assembly?

58 Views Asked by At

I am working on an assignment right now for ARM 7 (Big Endian) Assembly. We are using LDMDB and STMIA for this problem where we have an empty ascending stack, where I am asked to push the frame pointer value to the top of the stack. Then I am asked to point the frame pointer to the head of the stack. Is the head where the fp value is stored in the stack, or is it where the sp points to 4 bytes after that?

0

There are 0 best solutions below