Creating Statement Labels

The name of an inline assembly language statement label must follow these rules:

For example, this statement is valid:

add: add r3, r4, r5

Examples:

asm void func1(){

int i;

@x: add r0,#1 //Invalid !!!

}

asm void func2(){

int i;

x: add r0,#1 //OK

@y: add r3, r4, r5 //OK

}

This is an example of a complete inline assembly language function:

asm void red(void){

x1: add r3,r4,r5

@x2: add r6,r7,r8

}