Dear
I get error from CCS compiler when using __asm function that there are Bad terms in expression, below copy of my assembly code
__asm (
// Update vector table offset to application vector table
" ldr r0, = 0x20004000\n"
" ldr r1, = 0xe000ed08\n"
" str r0, [r1]\n"
// Update stack pointer from application vector table. First entry of vector table is SP
" ldr r1, [r0]\n"
" mov sp, r1\n"
// Load application reset handler and jump to the user code
" ldr r0, [r0, #4]\n"
" bx r0\n");