SP doesn't point to the last automatic on the stack. Not only is the automatics on the local stack, but also temporaries, like the ones to hold parameters to a function. If you call any functions 4(SP) is the second parameter to functions.