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)
?
because original I write assembly is for optimizing code purpose.. thanks