| delorie.com/archives/browse.cgi | search |
| From: | edwede AT stl082 DOT magnetek DOT com (Ed Eden) |
| Subject: | asm assembly syntax |
| 27 Jan 1998 17:00:59 -0800 : | |
| Message-ID: | <Pine.HPP.3.96.980127144156.8304A-100000.cygnus.gnu-win32@adc099.magnetek.com> |
| Mime-Version: | 1.0 |
| To: | gnu-win32 AT cygnus DOT com |
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 AT cygnus DOT com" with one line of text: "help".
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |