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

Re: [MiNT] what's wrong with this code?



-----Original Message-----
From: mint-bounce@lists.fishpool.fi on behalf of Johan Klockars
Sent: Mon 15/08/2005 19:50
To: Mint list
Subject: Re: [MiNT] what's wrong with this code?

<SNIP>

>There are physically separate registers for the various stack pointers, 
>which just get "remapped" in hardware depending on the bits in SR.

Question.

When you normally write the following...

        move.w D0,-(SP)   (or A7)

You write this instead...

        move.w D0,-(SSP)    or
  
        move.w D0,-(USP)

What happens when the CPU is in super or user mode?

Jan.