This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: assembler


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@cygnus.com" with one line of text: "help".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]