From mint-bounce@lists.fishpool.fi Mon Nov 30 05:30:04 2009 Subject: Re: [MiNT] Teradesk compile problem From: Petr Stehlik To: mint@lists.fishpool.fi In-Reply-To: References: <11a6f2b10911300132r169f88bdh45bdf3dbb9616a41@mail.gmail.com> <1259573969.15848.28.camel@petr> Content-Type: text/plain; charset="ISO-8859-2" Date: Mon, 30 Nov 2009 11:22:33 +0100 Message-ID: <1259576553.15848.31.camel@petr> Mime-Version: 1.0 X-Mailer: Evolution 2.28.1 X-ecartis-version: Ecartis v1.0.0 Sender: mint-bounce@lists.fishpool.fi Errors-to: mint-bounce@lists.fishpool.fi X-original-sender: pstehlik@sophics.cz Precedence: bulk List-help: List-unsubscribe: List-Id: X-List-ID: List-subscribe: List-owner: List-post: Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by mail.sparemint.org id nAUAU4R4018223 Andreas Schwab píše v Po 30. 11. 2009 v 11:06 +0100: > > Paul Wratt píše v Po 30. 11. 2009 v 20:32 +1100: > >> move.l USP,a7 > >> rte > > > >> I presume USP is related to stack pointer, and that code must be in > > > > My guess is that USP is a macro or define that contains a pointer to > > memory with preallocated buffer for an own stack. > > No, this is a privileged m68k insn for accessing the usp (User Stack > Pointer) register. Right, when you're in super mode you can access both stacks - usp and ssp... It doesn't explain why assembler would complain about that, though. Petr