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

Interfacing global variable defined in C to Assembly function.

Hi, I have defined global variable in C. I wanted to access that global variable in Assmebly function. can you please guide me.
Example:
In my C program:-
extern unsigned char lb;
. main()
{ .
}

I want to use same variable lb in assembly...
how to use it??

Regards,
Pranav

0