Peter Strack

"Privilege violation" exception even though sr = 0x2600

Discussion created by Peter Strack on Feb 8, 2007
Latest reply on Feb 12, 2007 by CrasyCat
The 1st assembler instruction of an interrupt function writen in "C" is "strldsr". My MCF5329 processor generates an "privilege violation" each time this instruction is executed, even though I put the value 0x2600 into the register "sr" (see attachements). With sr = 0x2600 the processor runs in "supervisor mode".
Is there any other cause that can produce a "privilege violation" exception other than being in "user mode" ?