Accessing C variables in assembly

Hi
I am using inline assebmly in my C program i have a global variable
unsigned int length;
I want to access this variable in my inline assembly routine using direct addressing. How can i find the memory location of this variable, so that i can access it.

Thanx
Faisal

Parents Reply Children
No data
More questions in this forum