AnsweredAssumed Answered

Linker scripts always produce a misaligned stack pointer

Question asked by szlamp.daniel on Jun 14, 2015
Latest reply on Jun 14, 2015 by Clive One
All of the ST tools seem to generate a misaligned stack pointer.
States a multiple of 8 bytes. yet it's always:
<mem base> + <mem size> -1
this seems to be from the early days of 8bit, but even then it was wrong as a push is
*SP = <reg>;
and pop
<reg> = *SP;
So why is it misaligned?