P32. Вестимо. Вот эта процедура зажигает лампочку по прерыванию таймера: 125: void __ISR(_TIMER_2_VECTOR, ipl2) Timer2Handler(void)
126: //void __attribute__((vector(_TIMER_2_VECTOR), interrupt(IPL7AUTO), nomips16)) _T2Interrupt(void)
127: {
9D0000E8 415DE800 rdpgpr sp,sp
9D0000EC 401A7000 mfc0 k0,EPC
9D0000F0 401B6000 mfc0 k1,Status
9D0000F4 27BDFFE8 addiu sp,sp,-24
9D0000F8 AFBA0014 sw k0,20(sp)
9D0000FC AFBB0010 sw k1,16(sp)
9D000100 7C1B7844 ins k1,zero,1,15
9D000104 377B0800 ori k1,k1,0x800
9D000108 409B6000 mtc0 k1,Status
9D00010C AFBE000C sw s8,12(sp)
9D000110 AFA40008 sw a0,8(sp)
9D000114 AFA30004 sw v1,4(sp)
9D000118 AFA20000 sw v0,0(sp)
9D00011C 03A0F021 addu s8,sp,zero
128: IFS0CLR = 0x00000100;
9D000120 3C02BF88 lui v0,0xbf88
9D000124 24030100 addiu v1,zero,256
9D000128 AC431034 sw v1,4148(v0)
129: LED2=1;
9D00012C 3C03BF88 lui v1,0xbf88
9D000130 8C6261A0 lw v0,24992(v1)
9D000134 24040001 addiu a0,zero,1
9D000138 7C826304 ins v0,a0,12,1
9D00013C AC6261A0 sw v0,24992(v1)
130:
131: }
9D000140 03C0E821 addu sp,s8,zero
9D000144 8FBE000C lw s8,12(sp)
9D000148 8FA40008 lw a0,8(sp)
9D00014C 8FA30004 lw v1,4(sp)
9D000150 8FA20000 lw v0,0(sp)
9D000154 41606000 di
9D000158 000000C0 ehb
9D00015C 8FBA0014 lw k0,20(sp)
9D000160 8FBB0010 lw k1,16(sp)
9D000164 409A7000 mtc0 k0,EPC
9D000168 27BD0018 addiu sp,sp,24
9D00016C 41DDE800 wrpgpr sp,sp
9D000170 409B6000 mtc0 k1,Status
9D000174 42000018 eret