fix copy/paste
add nop after return from PendSV_Handler
add support for Keil MDK-ARM
add port for Cortex-M3 (not tested)