L 4.4: The syscall_ret macro

(Revision 0 - 12 October 2000)

overview
return from exception

0-2 resetting exception bit (needed for eret instruction to work correctly!
3-6,9 restores SR with old values prior to exception  + EXL=1 + indication of pending interrupts (which might have changed during exception processing)
7,8,10,11 restore pc and sp and return