You copied the Doc URL to your clipboard.

Inline assembler branches and labels in C and C++ code

Labels defined in inline assembly code:

  • can be used as targets for branches or C and C++ goto statements

  • must be followed by a colon, :, like C and C++ labels

  • must be within the same function that they are called from.

Labels defined in C and C++ can be used as targets by branch instructions in inline assembly code, in the form:

B{cond} label

For example:

int foo(int x, int y)
     SUBS x,x,y
     BEQ end

  return 1;

    return 0;