This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Branch to a label in inline assembly

Hi All,

I have a label, say "XXX" in the startup assembly code.

Later if I want to jump to label "XXX" in the inline assembly by using

__asm{ B XXX }

The ARMCC compile in Keil MDK complains "the label XXX is referred but not defined".

How should I work around this problem? Thanks a lot.

Best regards Teddy

Parents Reply Children