[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [MiNT] Teradesk compile problem
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