This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Function including inline assembler

Hi, all.

I'm making loop counter using inline assembler in C51.(attach file )

I'm trying use variable that decleared in C language.
But when I build,  variable name changed in SRC file.
( "uint8_t i", "uint8_t cnt0", "uint8_t cnt1"  to  ”i?040 ”,  ”cnt0?041 ”, ”cnt1?042 ” ) 


It build successfully, when I tried variable name to ”i?040”, ”cnt0?041 ”, ”cnt1?042” manually in SRC.
However, it will be difficult if there are many variable names, so I would like to know a solution if possible.

Is there way to resolve this issue?

Regards,