DSPRelated.com
Forums

Dual 16-bit stack mode (fast return mode)

Started by gt4605c December 8, 2001
Hello all,

I am not able to control SP and SSP registers independently even if
the stack is configured for "USE_RETA" mode (CCS 2.0 /C55xx
Simulator). Any modification to the SP register (e.g. AADD #10, SP)
is also modifying the SSP register. Am I missing something here?

I am setting the Reset vector in "vector.asm" file as
follows:
.sect "vectors"
.def Reset

Reset: .ivec _c_int00, USE_RETA
...
...

Any pointers or suggestions will be appreciated.

Thanks!

-Krishna