delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/01/22/15:55:52

From: edwede AT stl082 DOT magnetek DOT com (Ed Eden)
Subject: asm assembly syntax
22 Jan 1998 15:55:52 -0800 :
Message-ID: <34C4B9AB.89302E34.cygnus.gnu-win32@stl082.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".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019