www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1993/03/28/03:29:02

Date: 28 Mar 1993 02:39:10 -0500 (EST)
From: MVICUNA AT delphi DOT com
Subject: Re: GCC Inline Assembly
To: davisjd AT vuse DOT vanderbilt DOT edu
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu

  I assume you mean the 'asm()' extension to GCC??

  If so look in the ~/docs/extended.tex file for the syntax.

  While I'm here, I've been using the inline asm statement, and find
that it doesn't work as advertised.  The compiler will try and use
the the registers I tell it not to use, cause the get changed by
the IMUL instruction.  Bug or am I not doing it right??

  One last thing,  GCC, EXPECTS %ebx to remain intact accross function
calls.  That gave me  headaches!!

Thanks,
MarkV.

- Raw text -


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