We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi all.
Does it possible to use local C-vars in "#pragma asm" block? I mean something like this:
void Foo(void) { BYTE t; #pragma asm mov r0, t; // error A45: UNDEFINED SYMBOL ...
I can use static local variable:
void foo(void) { static BYTE t; #pragma asm mov r0,t // OK ...
I should take my words back: it does not work. And if there is a global variable with the same name it will be silently used instead of the local variable ... :-(
Alex.