1 # Blackfin testcase for the CEC (handling exceptions from usermode)
3 # sim: --environment operating
5 .include "testutils.inc"
9 // load address of exception handler
10 imm32 p0, 0xFFE02000; /* EVT0 */
11 R0 = exception_handler (Z);
12 R0.H = exception_handler;
14 // Jump to User mode and enable exceptions
30 // should except - r4 dep
31 // R4 = R4 >> 25 || W [ I3 ++ ] = R0.H || R4 = [ I3 ];
46 // just skip over excepting instructions