I am new to MSP430 architecture and I am porting an RTOS which is written for ARM Cortex M3 into this architecure. In ARM Cortex architecture, there are PSP and MSP registers to hold stack values for execution modes.
As I understand from MSP430 architecture there is only just one stack pointer register (SP).
Here are my questions:
-Is there only one register bank for SP within interrupt/execution context?
-Can I use regular C functions for interrupt handling in MSP430 as in ARM Cortex?
-How does MSP430 handle (save/restore) registers during interrupt execution (specifically SP, SR and PC)?