1 // assert that we can issue a software exception
2 // and that the expt number is passed correctly through
5 # sim: --environment operating
7 .include "testutils.inc"
11 imm32 p0, 0xFFE02000; /* EVT0 */
12 P1 = re (Z); // load a pointer to ihandler interrupt 1
16 R0 = -1; /* unmask all interrupts */
20 R0 = start_uspace (Z);
27 DBGA ( R1.L , 0x1238 );
48 DBGA ( R0.L , EXCPT_PROTVIOL );