www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/07/31/06:57:43

From: eplmst AT lu DOT erisoft DOT se (Martin Stromberg)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Inline Assembly and return value of a function
Date: 31 Jul 2002 10:05:01 GMT
Organization: Ericsson Erisoft AB, Sweden
Lines: 12
Message-ID: <ai8cod$7do$1@antares.lu.erisoft.se>
References: <5 DOT 0 DOT 2 DOT 1 DOT 2 DOT 20020731094743 DOT 009e3a20 AT pop DOT gmx DOT net>
NNTP-Posting-Host: lws256.lu.erisoft.se
X-Newsreader: TIN [version 1.2 PL2]
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Martin Steuer (martinSteuer AT gmx DOT de) wrote:
: But can anyone tell me why my approach doesnt work?

You're not telling gcc the correct things. I think you say v is in one
register and swapped is in another one.

Plus bswap is a 486 instruction, not a 386 instruction.


Right,

						MartinS

- Raw text -


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