www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/07/30/18:38:29

Date: Tue, 30 Jul 2002 18:23:44 -0400
Message-Id: <200207302223.g6UMNi917169@envy.delorie.com>
X-Authentication-Warning: envy.delorie.com: dj set sender to dj AT delorie DOT com using -f
From: DJ Delorie <dj AT delorie DOT com>
To: martinSteuer AT gmx DOT de@pop.gmx.net
CC: djgpp AT delorie DOT com
In-reply-to: <5.0.2.1.2.20020730223902.009e37d0@pop.gmx.net> (message from
Martin Steuer on Tue, 30 Jul 2002 23:01:26 +0200)
Subject: Re: Inline Assembly and return value of a function
References: <5 DOT 0 DOT 2 DOT 1 DOT 2 DOT 20020730223902 DOT 009e37d0 AT pop DOT gmx DOT net>
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

Linux glibc uses this asm:

static __inline__ __const__ __u32 ___arch__swab32(__u32 x)
{
        __asm__("bswap %0" : "=r" (x) : "0" (x));
        return x;
}

- Raw text -


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