From mint-bounce@lists.fishpool.fi  Thu Oct 30 06:37:14 2008
Date: Thu, 30 Oct 2008 11:31:57 +0100 (CET)
From: Frank Naumann <fnaumann@boerde.de>
X-X-Sender: fnaumann@localhost.localdomain
To: Miro Kropacek <miro.kropacek@gmail.com>
Cc: mint <mint@fishpool.com>
Subject: Re: [MiNT] arguments in registers instead of stack in gcc
In-Reply-To: <c6533ef60810300122v4370e953i4cfaab70f210d3ca@mail.gmail.com>
Message-ID: <alpine.LFD.2.00.0810301124050.3726@localhost.localdomain>
References: <c6533ef60810300122v4370e953i4cfaab70f210d3ca@mail.gmail.com>
User-Agent: Alpine 2.00 (LFD 1167 2008-08-23)
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
X-Virus-Scanned: by amavisd-new at relay.boerde.de
X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on relay.boerde.de
X-Spam-Status: No, hits=- tagged_above=-50.5 required=7.0 WHITELISTED 
X-Spam-Level: 
X-ecartis-version: Ecartis v1.0.0
Sender: mint-bounce@lists.fishpool.fi
Errors-to: mint-bounce@lists.fishpool.fi
X-original-sender: fnaumann@boerde.de
Precedence: bulk
List-help: <mailto:ecartis@lists.fishpool.fi?Subject=help>
List-unsubscribe: <mailto:mint-request@lists.fishpool.fi?Subject=unsubscribe>
List-Id: <mint.lists.fishpool.fi>
X-List-ID: <mint.lists.fishpool.fi>
List-subscribe: <mailto:mint-request@lists.fishpool.fi?Subject=subscribe>
List-owner: <mailto:tjhukkan@fishpool.fi>
List-post: <mailto:mint@lists.fishpool.fi>

Hello!

> is there any way how to force gcc to pass arguments to assembler function in some specified registers instead of stack?
> Some compilers allow something like "func(register __a0 int* pointer)" declarations.

Not as I know. But you can use inline assembler for such tasks I think.


Regards,
Frank

--
ATARI FALCON 060 // MILAN 060
-----------------------------
http://sparemint.org/
e-Mail: fnaumann@boerde.de


