Hello All,
I'd like to be able to directly modify the SSP on the 'c5515 - something like this:
mov *sp(#3), *ssp(#1)
Is this allowed? Or is it just plain verboten since the System Stack Pointer is the system stack pointer, after all.
I am doing a stack 'fix-up' after context switches - so I need to put the loop count and upper 8 of the PC onto the stack - and it doesn't look like I can do that directly.
I have tried:
mov *sp(#3), t3
mov t3, *ssp(#1) - but same result.
One would think that since the PC gets pushed onto the stack - and 'split' between SSP and SP, there is a way to modify SSP. Note I am using slow-return mode, but RETA and CFCT are used analogously in fast-stack mode.
Thanks,
john w.