?? kit06start.src
字號:
;=======================================
; Definitions
;=======================================
RESERVE: .EQU H'FFFFFFFF ; Address of the unused area
;=======================================
; External references
;=======================================
.IMPORT _main
.IMPORT _INITSCT
.IMPORT _interrupt_timer0
;=======================================
; Vector section
;=======================================
.SECTION V
.DATA.L RESET_START ; 0 H'000000 Reset
.DATA.L RESERVE ; 1 H'000004 System reserved
.DATA.L RESERVE ; 2 H'000008 System reserved
.DATA.L RESERVE ; 3 H'00000c System reserved
.DATA.L RESERVE ; 4 H'000010 System reserved
.DATA.L RESERVE ; 5 H'000014 System reserved
.DATA.L RESERVE ; 6 H'000018 System reserved
.DATA.L RESERVE ; 7 H'00001c External interrupt - NMI
.DATA.L RESERVE ; 8 H'000020 Trap instruction
.DATA.L RESERVE ; 9 H'000024 Trap instruction
.DATA.L RESERVE ; 10 H'000028 Trap instruction
.DATA.L RESERVE ; 11 H'00002c Trap instruction
.DATA.L RESERVE ; 12 H'000030 External interrupt - IRQ0
.DATA.L RESERVE ; 13 H'000034 External interrupt - IRQ1
.DATA.L RESERVE ; 14 H'000038 External interrupt - IRQ2
.DATA.L RESERVE ; 15 H'00003c External interrupt - IRQ3
.DATA.L RESERVE ; 16 H'000040 External interrupt - IRQ4
.DATA.L RESERVE ; 17 H'000044 External interrupt - IRQ5
.DATA.L RESERVE ; 18 H'000048 System reserved
.DATA.L RESERVE ; 19 H'00004c System reserved
.DATA.L RESERVE ; 20 H'000050 WDT MOVI
.DATA.L RESERVE ; 21 H'000054 REF CMI
.DATA.L RESERVE ; 22 H'000058 System reserved
.DATA.L RESERVE ; 23 H'00005c System reserved
.DATA.L _interrupt_timer0 ; 24 h'000060 ITU0 IMIA0
.DATA.L RESERVE ; 25 H'000064 ITU0 IMIB0
.DATA.L RESERVE ; 26 H'000068 ITU0 OVI0
.DATA.L RESERVE ; 27 H'00006c System reserved
.DATA.L RESERVE ; 28 H'000070 ITU1 IMIA1
.DATA.L RESERVE ; 29 H'000074 ITU1 IMIB1
.DATA.L RESERVE ; 30 H'000078 ITU1 OVI1
.DATA.L RESERVE ; 31 H'00007c System reserved
.DATA.L RESERVE ; 32 H'000080 ITU2 IMIA2
.DATA.L RESERVE ; 33 H'000084 ITU2 IMIB2
.DATA.L RESERVE ; 34 H'000088 ITU2 OVI2
.DATA.L RESERVE ; 35 H'00008c System reserved
.DATA.L RESERVE ; 36 H'000090 ITU3 IMIA3
.DATA.L RESERVE ; 37 H'000094 ITU3 IMIB3
.DATA.L RESERVE ; 38 H'000098 ITU3 OVI3
.DATA.L RESERVE ; 39 H'00009c System reserved
.DATA.L RESERVE ; 40 H'0000a0 ITU4 IMIA4
.DATA.L RESERVE ; 41 H'0000a4 ITU4 IMIB4
.DATA.L RESERVE ; 42 H'0000a8 ITU4 OVI4
.DATA.L RESERVE ; 43 H'0000ac System reserved
.DATA.L RESERVE ; 44 H'0000b0 DMAC DEND0A
.DATA.L RESERVE ; 45 H'0000b4 DMAC DEND0B
.DATA.L RESERVE ; 46 H'0000b8 DMAC DEND1A
.DATA.L RESERVE ; 47 H'0000bc DMCA DEND1B
.DATA.L RESERVE ; 48 H'0000c0 System reserved
.DATA.L RESERVE ; 49 H'0000c4 System reserved
.DATA.L RESERVE ; 50 H'0000c8 System reserved
.DATA.L RESERVE ; 51 H'0000cc System reserved
.DATA.L RESERVE ; 52 H'0000d0 SCI0 ERI0
.DATA.L RESERVE ; 53 H'0000d4 SCI0 RXI0
.DATA.L RESERVE ; 54 H'0000d8 SCI0 TXI0
.DATA.L RESERVE ; 55 H'0000dc SCI0 TEI0
.DATA.L RESERVE ; 56 H'0000e0 SCI1 ERI1
.DATA.L RESERVE ; 57 H'0000e4 SCI1 RXI1
.DATA.L RESERVE ; 58 H'0000e8 SCI1 TXI1
.DATA.L RESERVE ; 59 H'0000ec SCI1 TEI1
.DATA.L RESERVE ; 60 H'0000f0 A/D ADI
;=======================================
; Startup Program
;=======================================
.SECTION P
RESET_START:
MOV.L #H'FFF10,ER7 ; Stack setup
JSR @_INITSCT ; Sections D, R, and B settings
JSR @_main ; Jump to the main() function written in C
OWARI:
BRA OWARI
.END
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -