[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] Teradesk compile problem



Petr Stehlik <pstehlik@sophics.cz> writes:

> 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.

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."