I am using Eclipse IDE on ubuntu 8.04, gcc 4.2.3, -masm=intel flag for intel syntax. I am using inline assembly in a C program by using asm();.

If I want to mov eax, myVar will only work if it is a global variable. How can i use local variables?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.