test_intr.s 779 Bytes
/*******************************
 *prog name:   test_intr        
 * 
 *
 *******************************/
                         
	.text	        
               
        nop;
        nop;
	ori  $1, $0, 0x10;/* set interrupt value */
	ori  $2, $0, 0x8;  /* clear interrupt value */
        nop;
        nop;
	mtc0 $1, $4;   /* set interrupt */
        nop;
        nop;
	break;
        nop;
        nop;
	mtc0 $2, $4;   /* clear interrupt */
        nop;
        nop;
	break;
        nop;
        nop;
	mtc0 $1, $4;   /* set interrupt */
        nop;
        nop;
	break;
        nop;
        nop;
	mtc0 $2, $4;   /* clear interrupt */
        nop;
        nop;
	break;
        nop;
	break;
        nop;
	break;
        nop;
	break;
        nop;
	break;
        nop;
	break;