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.
Broadcom, under pressure from startup Barefoot Networks, also open sourced a programming language that can be used by customers to add functions to the switch.