📄 c6inthnd.asm
字号:
;/*****************************************************************************
;*
;* component :
;*
;*
;*
;* module name : c6inthnd.asm
;*
;* subcomponent:
;*
;*******************************************************************************
;* *
;* function : *
;* description : *
;* Interrupt vector for the C60 processor *
;* *
;* *
;*******************************************************************************
;* *
;* *
;* dependencies: *
;* *
;* *
;* author : Kenneth Blake
;* history : none *
;* *
;* *
;* *
;******************************************************************************/
FP .set A15
DP .set B14
SP .set B15
DelaySlot_for_Branch .set 5
.global $bss
.global _Volatile_Value_Of_Illegal_Interrupt
.global __vector ; /* Memory location for default */
.global _reset
.global _c_int00 ;
.global _Illegal_Interrupt_Handler ;
.global _TimerOneTick
.global _TimerZeroTick
.global _HostPortInterrupt
.global _DMAChannel_0_Interrupt
.global _DMAChannel_1_Interrupt
.global _DMAChannel_2_Interrupt
.global _DMAChannel_3_Interrupt
.global _PCIControllerInterrupt_Handler
.global _HostPCIRegister_Interrupt
.global _McBsp_Receive_0_Interrupt
.global _McBsp_Receive_1_Interrupt
.text
__vector .sect ".vector" ; /* interrupt vector */
b _c_int00 ; 0 1
nop 5 ; 4 2
nop ; 8 3
nop ; c 4
nop ; 10 5
nop ; 14 6
nop ; 18 7
nop ; 1c 8
b _HostPCIRegister_Interrupt ; 20 1
nop ; 24 2
nop ; 28 3
nop ; 2c 4
nop ; 30 5
nop ; 34 6
nop ; 38 7
nop ; 3c 8
nop ; 40 1
nop ; 44 2
b _Reserved_One_Interrupt ; 48 3
nop ; 4c 4
nop ; 50 5
nop ; 54 6
nop ; 58 7
nop ; 5c 8
nop ; 60 1
nop ; 64 2
b _Reserved_Two_Interrupt ; 68 3
nop ; 6c 4
nop ; 70 5
nop ; 74 6
nop ; 78 7
nop ; 7c 8
b _PCIControllerInterrupt_Handler ; 80 1
nop ; 84 2
nop ; 88 3
nop ; 8c 4
nop ; 90 5
nop ; 94 6
nop ; 98 7
nop ; 9c 8
b _McBsp_Receive_0_Interrupt ; a0 1 LEVEL 5
nop ; a4 2
nop ; a8 3
nop ; ac 4
nop ; b0 5
nop ; b4 6
nop ; b8 7
nop ; bc 8
b _McBsp_Receive_1_Interrupt ; c0 1 LEVEL 6
nop ; c4 2
nop ; c8 3
nop ; cc 4
nop ; d0 5
nop ; d4 6
nop ; d8 7
nop ; dc 8
nop ; e0 1 LEVEL 7
nop ; e4 2
b _Interrupt_7_Handler ; e8 3
nop ; ec 4
nop ; f0 5
nop ; f4 6
nop ; f8 7
nop ; fc 8
b _DMAChannel_0_Interrupt ; 100 1 _Interrupt_8_Handler
nop ; 104 2
nop ; 108 3
nop ; 10c 4
nop ; 110 5
nop ; 114 6
nop ; 118 7
nop ; 11c 8
b _DMAChannel_1_Interrupt ; 120 1
nop ; 124 2
nop ; 128 3 _Interrupt_9_Handler
nop ; 12c 4
nop ; 130 5
nop ; 134 6
nop ; 138 7
nop ; 13c 8
b _Interrupt_10_Handler ; 140 1 _McBsp_Receive_1_Interrupt
nop ; 144 2
nop ; 148 3
nop ; 14c 4
nop ; 150 5
nop ; 154 6
nop ; 158 7
nop ; 15c 8
b _DMAChannel_2_Interrupt ; 160 1
nop ; 164 2
nop ; 168 3
nop ; 16c 4
nop ; 170 5
nop ; 174 6
nop ; 178 7
nop ; 17c 8
b _DMAChannel_3_Interrupt ; 180 1
nop ; 184 2
nop ; 188 3
nop ; 18c 4
nop ; 190 5
nop ; 194 6
nop ; 198 7
nop ; 19c 8
b _HostPortInterrupt ; 1a0 1 _Interrupt_13_Handler
nop ; 1a4 2
nop ; 1a8 3
nop ; 1ac 4
nop ; 1b0 5
nop ; 1b4 6
nop ; 1b8 7
nop ; 1bc 8
b _TimerZeroTick ; 1c0 1 _Interrupt_14_Handler
nop ; 1c4 2
nop ; 1c8 3
nop ; 1cc 4
nop ; 1d0 5
nop ; 1d4 6
nop ; 1d8 7
nop ; 1dc 8
b _TimerOneTick ; 1e0 1 _Interrupt_15_Handler
nop ; 1e4 2
nop ; 1e8 3
nop ; 1ec 4
nop ; 1f0 5
nop ; 1f4 6
nop ; 1f8 7
nop ; 1fc 8
.align 32
_RESET_Interrupt
b .s1 _c_int00
nop DelaySlot_for_Branch
_Reserved_One_Interrupt ; 48 3
_Reserved_Two_Interrupt
_Interrupt_4_Handler
_Interrupt_5_Handler
_Interrupt_6_Handler
_Interrupt_7_Handler
_Interrupt_8_Handler
_Interrupt_9_Handler
_Interrupt_10_Handler
_Interrupt_11_Handler
_Interrupt_12_Handler
_Interrupt_13_Handler
_Interrupt_14_Handler
_Interrupt_15_Handler
.align 32
_NMI_Interrupt ;NonMaskable Interrupt NMI-loads
STW .D2T1 A0,*SP ; save A0
MVK .S1 0x0,A0
STW .D2T1 A0,*+DP(_Volatile_Value_Of_Illegal_Interrupt) ;
LDW .D2T1 *SP,A0 ; ; restore A0
b .s1 _Illegal_Interrupt_Handler ; ILLEGAL_INTERRUPT_HANDLER()
nop DelaySlot_for_Branch
.end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -