We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bef020b commit c97dcd0Copy full SHA for c97dcd0
cmsis/CMSIS_5/CMSIS/RTOS2/RTX/Source/TOOLCHAIN_GCC/TARGET_M0/irq_cm0.S
@@ -102,7 +102,7 @@ SVC_ContextRestore:
102
SUBS R0,R0,#32 // Adjust address
103
LDMIA R0!,{R4-R7} // Restore R4..R7
104
105
- MOVS R0,#~0xFFFFFFFD
+ MOVS R0,#2 // Binary complement of 0xFFFFFFFD
106
MVNS R0,R0 // Set EXC_RETURN value
107
BX R0 // Exit from handler
108
cmsis/CMSIS_5/CMSIS/RTOS2/RTX/Source/TOOLCHAIN_GCC/TARGET_M0P/irq_cm0.S
0 commit comments