Which processor do you use? How do you write the PSW? If you use RX, do you know this note? Switching from supervisor mode to user mode requires execution of an RTE instruction after having set the PSW.PM bit saved on the stack to 1 OR executing an RTFI instruction after having set the BPSW.PM bit to 1.
↧