Mail Archives: cygwin/1998/01/27/22:20:33
On 20 Jan 98 at 8:50, Ed Eden <edwede AT stl082 DOT magnetek DOT com> wrote:
> 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 [ ]
>
Hi!
Maybe you'll be interested in the addresses below:
- NASM (assembler with Intel syntax) docs: It's in the NASM096.ZIP distribution
file (ps, html, winhelp, info, and txt formats)
http://www.csv.warwick.ac.uk/~csusb/nasm/
- the group news://comp.os.msdos.djgpp, or the mailing list djgpp AT delorie DOT com
is a good reference for assembly programming using the AT&T syntax; it is
composed of game programmers that use x86 assembly language in the context of
a gcc-based compiler for MS-DOS.
- in the homepage of this group, at http://www.delorie.com, you'll find links
to tutorials of the AT&T syntax.
HTH.
++Hilton
-------------------
Hilton Fernandes
email: hgfernan AT usp DOT br
www: http://www.lsi.usp.br/~hilton.html (inactive)
M. Sc. Student of Parallel Distributed Applications
at Escola Politecnica (Polytechic School)
University of S. Paulo - Brazil
-
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".
- Raw text -