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 ...
"The real *** with #pargma asm is that the entire module must be debugged in assembler"
Yes, that's true.
So, given that you have to study the assembler in the .SRC file, and you have to debug it in assembler, where is the advantage in having it inline in a 'C' file?!
That's the other reason not to do inline assembler - specifically in C51