We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
// SVC handler - Assembly wrapper to extract // stack frame starting address__asm void SVC_Handler(void){ MOVS r0, #4 MOV r1, LR TST r0, r1 BEQ stacking_used_MSP MRS R0, PSP ; first parameter - stacking was using PSP LDR R1,=__cpp(SVC_Handler_main) BX R1stacking_used_MSP MRS R0, MSP ; first parameter - stacking was using MSP LDR R1,=__cpp(SVC_Handler_main) BX R1}