Subject: Re: asm assembly syntax
From: [email-masked]

27 Jan 1998 22:20:33 -0800
Message-ID: <[email-masked]>
References: <[email-masked]>
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7BIT
To: Ed Eden <[email-masked]>, [email-masked]
Cc: "Fernandes, Hilton" <[email-masked]>

On 20 Jan 98 at 8:50,  Ed Eden <[email-masked]> 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 [email-masked] 
  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: [email-masked]
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
"[email-masked]" with one line of text: "help".