.define "push.a", push_x\r
.define "pop.a", pop_x\r
.define "mov.a", mov_x\r
- .define "cmp.a", cmp_x\r
.else\r
.define "pushm.w", pushm_x\r
.define "popm.w", popm_x\r
.define "push.w", push_x\r
.define "pop.w", pop_x\r
.define "mov.w", mov_x\r
- .define "cmp.w", cmp_x\r
.endif\r
\r
.if $DEFINED( __LARGE_CODE_MODEL__ )\r
" ldr r0, [r0] \n"\r
" ldr r0, [r0] \n"\r
" msr msp, r0 \n" /* Set the msp back to the start of the stack. */\r
- " cpsie i \n"\r
+ " cpsie i \n" /* Globally enable interrupts. */\r
" svc 0 \n" /* System call to start first task. */\r
" nop \n"\r
);\r
ldr r0, [r0]\r
/* Set the msp back to the start of the stack. */\r
msr msp, r0\r
- /* Call SVC to start the first task. */\r
+ /* Globally enable interrupts. */\r
cpsie i\r
+ /* Call SVC to start the first task. */\r
svc 0\r
nop\r
}\r