C5686: Undefined label <Ident>

[ERROR]

Description

The inline assembler issues this message if an undeclared ident is used but not defined as a label. Note that a spelling error in the name of a variable or register may result in this error as well.

Example

In the following code, the label loop is not defined

  void example (void){

  
    asm { 

  
      cmpwi  r3,0

  
      bne    loop

  
      jne    loop

  
    }

  
  }