asm assembly syntax

Ed Eden
Tue Jan 20 15:29:00 GMT 1998

can someone help with syntax conversion for the inline asm directive.

the visual C++ syntax is

__asm {
        lea eax,[edx]GLcontext.Current.ByteColor[0]

the gnu would be
__asm__ ("
       lea eax???????

I get an assembly error with the [ ]

For help on using this list (especially unsubscribing), send a message to
"" with one line of text: "help".

More information about the Cygwin mailing list