News

Coding the Context-Switch in Assembly The context switch in PendSV_Handler () cannot be coded in standard C because it needs to manipulate the Stack Pointer (SP) as well as push and pop CPU registers.