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

How to use a variable declared using C syntax in Assembly file

I am using keil and 8051 microcontroller.
I want to convert a part of my code written in C into assembly.
So for that I wanted to use a variable declared in C file in assembly file.How can I use?
I have checked in keil manual also ,there they have given one example code ,in that they have used the variable declared in asm file but not in C.
So now how can I do that?