From mint-bounce@lists.fishpool.fi  Thu Aug 11 15:20:31 2005
X-Original-To: fnaumann@mail.boerde.de
Delivered-To: fnaumann@mail.boerde.de
X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Subject: Re: [MiNT] what's wrong with this code?
Date: Thu, 11 Aug 2005 14:18:34 +0100
Message-ID: <F6E60FAE8239614A97E6B60FDCB29A8F033F6A35@i2km86-ukdy.domain1.systemhost.net>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [MiNT] what's wrong with this code?
Thread-Index: AcWednjSa4nAFB3VTYmp1WF593OWDgAAIVmg
From: <jan.thomas@bt.com>
To: <mikro@hysteria.sk>, <draco@obta.uw.edu.pl>
Cc: <schwab@suse.de>, <mint@fishpool.com>
X-OriginalArrivalTime: 11 Aug 2005 13:18:36.0579 (UTC) FILETIME=[2E58B730:01C59E77]
X-ecartis-version: Ecartis v1.0.0
Sender: mint-bounce@lists.fishpool.fi
Errors-To: mint-bounce@lists.fishpool.fi
X-original-sender: jan.thomas@bt.com
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>
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=0.2 tagged_above=-50.5 required=7.0 tests=AWL,
 BAYES_00, NO_REAL_NAME
X-Spam-Level: 
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by wh58-508.st.uni-magdeburg.de id j7BDKUUc027693

> -----Original Message-----
> From: mint-bounce@lists.fishpool.fi
> [mailto:mint-bounce@lists.fishpool.fi]On Behalf Of mikro
> Sent: 11 August 2005 14:13
> To: Konrad M. Kokoszkiewicz
> Cc: Andreas Schwab; Mint list
> Subject: Re: [MiNT] what's wrong with this code?
> 

SNIP.

> - Super() to get SV (init part)
> - do other inits and then loop in main loop:
> - Super() to get from SV
> - now save a7
> - bsr.w movem_clear
> - do rest of code (movem loop)
> - rts			<<<<<<<	YOU DO AN RTS BEFORE
> - restore a7		<<<<<<<	THIS???
> - Super() to set SV

Dont you know that an RTS uses the Stack?

Jan.

