I use MC68HC908QY4 and codewarrior 3.0.
In a C funtion I need to save the SP in a variable:
I tried in every way suggested by manuals but I always obtain an error
(C18107 or C18700) for STHX instruction.
How can I "read" SP in a local variable.