21 February 2017, 17:50 | #1 |
Registered User
Join Date: Jan 2017
Location: London, UK
Posts: 433
|
What order does Exec save the registers on the stack during a context switch?
What order does Exec save the registers on the stack during a context switch?
My guess is D0 through to D7, followed by A0 through to A6, SR, and then A7 stored in the task control block. So should I want to examine the contents of a waiting task's, D0 (for example) I would look at tc_SPReg + 68? Cheers. |
21 February 2017, 18:27 | #2 |
Natteravn
Join Date: Nov 2009
Location: Herford / Germany
Posts: 2,496
|
PC.l, SR.w, D0.l, .., D7.l, A0.l, .. A6.l
|
21 February 2017, 18:33 | #3 |
Registered User
Join Date: Jan 2017
Location: London, UK
Posts: 433
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
CD32 - Is NTSC/PAL switch and 50/60 switch possible? | missyrelm | Hardware mods | 71 | 13 January 2019 05:21 |
Picasso96: Could not create graphics board context for 'Spectrum' | MagerValp | support.Hardware | 12 | 02 May 2017 19:05 |
CDTV exec.library | Arnie | support.WinUAE | 19 | 18 February 2016 13:11 |
68K/PPC context switching? | RedskullDC | support.Hardware | 1 | 08 December 2008 11:44 |
|
|