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
Hi Ronan,
Something in your code I dont clearly understand.
If the function bar is defined in the external assembly code, then your function foo shouldnt be necessary anymore. Because you can simply call bar in the C code.
Hi Teddy,
Yes my example was trivial, just to show how you can reference the symbol. Of course you would add other code to this to do something meaningful.