delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/10/24/22:27:55

From: khan AT xraylith DOT wisc DOT edu (Mumit Khan)
Subject: Re: assembler
24 Oct 1998 22:27:55 -0700 :
Message-ID: <Pine.SUN.3.93.981024162807.23565G-100000.cygnus.gnu-win32@modi.xraylith.wisc.edu>
References: <3631AA15 DOT 3FC9FED AT i-france DOT com>
Mime-Version: 1.0
To: Alex <alexl AT i-france DOT com>
Cc: "gnu-win32 AT cygnus DOT com (mailing list)" <gnu-win32 AT cygnus DOT com>

On Sat, 24 Oct 1998, Alex wrote:

> i thought it was
> asm{
> mov ax, 13h;
> int 10h;
> }
> but i got errors when i compiled that with gcc

Colin Plumb has a terrific guide to writing inline asm (using GCC)
for x86. See it at:

   http://www.linuxhq.com/lnxlists/linux-kernel/lk_9804_03/msg01083.html

It's for linux kernel, but I would assume most of it applies to generic 
x86 (correct me if I'm wrong please).

Mumit


-
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