AnsweredAssumed Answered

C Macro with asm

Question asked by Nouchi on Oct 25, 2006
Latest reply on Nov 20, 2006 by Nouchi
Hello,

here's my C macro

Code:
volatile uint32 myVar;#define myMACRO() asm {\  TST.L myVar\  BEQ LABEL\  ADD.L %-1,myVar\LABEL:\   }
I would like to know how to to genarate unique label each time the macro is used, I tried "\@" after label name but it doesn't work.
What's the right syntax ?

tahnks

Outcomes