From: | Nicholas Clarke |
Date: | 18 Aug 2001 at 15:45:09 |
Subject: | Re: [amiga-c] Re: 680x0 Status Register |
On 17 Aug 2001, Paul Hill wrote:
> On 17-Aug-01 17:24:25, Colin Wenzel wrote:
> >On 17-Aug-01, Stephen Illingworth wrote:
> >> Is it possible to explicitely set flags in the status register
> >> for another task?
> >> Steve
>
> >Tasks do not have status registers, only the cpu does...
>
> But this must get saved somewhere during context switches. I believe this
> is what Stephen is after...
If you get hold of another tasks stack pointer the sr is saved along with
all the registers, pc and stackframe# depending on whether its on a
68010+. I can remember the exact order but you can deduce this by
disassembling the task scheduler as I did once.
/ngc
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Do you need to encrypt all your online transactions? Secure corporate intranets? Authenticate your Web sites? Whatever
security your site needs, you'll find the perfect solution here!
http://us.click.yahoo.com/Bre3tC/Q56CAA/yigFAA/dpFolB/TM
---------------------------------------------------------------------~->
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/