Do not store the stack pointer if the stack size is 0.