Because of the holidays, TI E2E™ design support forum responses will be delayed from Dec. 25 through Jan. 2. Thank you for your patience.

This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

EK-TM4C123GXL: Bad terms in expression for inline asm assembly code

Part Number: EK-TM4C123GXL

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");