www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/04/26/22:12:40

Date: Mon, 26 Apr 1999 22:10:19 -0400
Message-Id: <199904270210.WAA26874@envy.delorie.com>
From: DJ Delorie <dj AT delorie DOT com>
To: djgpp AT delorie DOT com
In-reply-to: <7g34iv$5eas$2@newssvr04-int.news.prodigy.com> (message from Ken
Robbins on Mon, 26 Apr 1999 20:42:54 -0500)
Subject: Re: 3 questions
References: <oo5V2.119790$Mb DOT 45033755 AT newscontent-02 DOT sprint DOT ca> <7g34iv$5eas$2 AT newssvr04-int DOT news DOT prodigy DOT com>
Reply-To: djgpp AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> > 3) I've seen people use asm and __asm__. It seems to do the same thing so
> > why do some people use the underscores?
> 
> It depends on the compiler they are using. Each compiler has a different
> ASM function if it indeed has one.

Actually, gcc has both asm and __asm__.  The difference is that the
first is disabled if you use "gcc -ansi".

- Raw text -


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