- mov r3,r0 // r3 = core_id\r
- mul r3,r3,r2 // r3 = core_id * stack_size = offset from the stack base\r
- add r3,r3,r1 // r3 = stack_base + offset\r
- add r3,r3,r2,LSR #1 // r3 = stack_offset + (stack_size/2) <-- the top half is for the heap\r
- mov sp, r3\r
+ mov r3, r0 // r3 = core_id\r
+ mul r3, r3, r2 // r3 = core_id * stack_size = offset from the stack base\r
+ add r3, r3, r1 // r3 = stack_base + offset\r
+ add r3, r3, r2, LSR #1 // r3 = stack_offset + (stack_size/2) <-- the top half is for the heap\r
+ mov sp, r3\r