Hello, I am working with an xc167. Currently I use a round-robin schedular, but I want to write my own preemptive schedular. I have browsed through the user manual, but it is still not 100% clear to me exactly which registers should be saved per task. I was thinking of the general purpose registers, SP, IP, PSW... Can anybody advise me as to the full list? Thanks in advance.