Re: A89: How does a 68000 program get into supervisor mode ?


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

Re: A89: How does a 68000 program get into supervisor mode ?




Use trap #1 to store the contens of d0.w to the SR without getting a privilege
violation.  The old SR contens are then placed into d0.l.

S43R80@aol.com wrote:

> > How would I be able to switch into supervisor mode on a 68000 for a program
> > that needs it ?
> >
>
> Don't you get more access to different instructions (supervisor mode) by just
> setting the supervisor bit (bit 13) of the SR register?
>
> -Steven



References: