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?


Parents Reply Children
No data
More questions in this forum