This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

asm assembly syntax




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
"gnu-win32-request@cygnus.com" with one line of text: "help".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]