I used static member in class and reference to assembly, in sperate files I got error, Is there anyway to solve it?

thanks for your point, I see, it's work for this program without reference to assembly ~
(and I misunderstanding that the static member can be public, and I find once I label it in assembly, the error occur, )
Is that possible pass MyVariable to assembly in MyClass::setVariable() like use asm("lds %0, MyVariable\n\t" "::"r" (tmp1):slight_smile: ?
because original I write assembly is for optimizing code purpose.. thanks