This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Moving stack from TCM to external DDR2 SDRAM

Parents
  • Note: This was originally posted on 22nd November 2011 at http://forums.arm.com

    One more question:  In a given function, does SP point to the highest used address on the stack?  Or does it point to, say, the first used address of the local function, and, if the local function used, say, 12 bytes, SP, SP - 4, and SP - 8 are all used, so if I was looking for the address of the first *unused* byte (4-byte) location, I'd have to look at SP - 12?
Reply
  • Note: This was originally posted on 22nd November 2011 at http://forums.arm.com

    One more question:  In a given function, does SP point to the highest used address on the stack?  Or does it point to, say, the first used address of the local function, and, if the local function used, say, 12 bytes, SP, SP - 4, and SP - 8 are all used, so if I was looking for the address of the first *unused* byte (4-byte) location, I'd have to look at SP - 12?
Children
No data