-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvector_table.s
57 lines (54 loc) · 1.28 KB
/
vector_table.s
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
; *********************************************************
; AVROS: ATmega128 Operating System
; (c) gamykla
;
; INTERRUPT VECTOR TABLE
; This bit should always be found at the start of an image.
;
; $Source: /u/csc02g/gamykla/AVROS-CVS/avros/vector_table.s,v $
; $Author: gamykla $
; $Date: 2004/04/17 00:39:44 $
; $Revision: 1.1 $
;
; *********************************************************
; *************************************************
; WARNING: The vector table definition is specific
; to ATmega128 architecture.
; *************************************************
; reset vector
.org 0x0000
jmp K_init ; System Reset
jmp K_panic
jmp K_panic
jmp K_panic
jmp K_panic
jmp K_trap ; int 4 trap handler - Used for system calls
jmp K_panic
jmp K_panic
jmp K_panic
jmp K_panic
jmp K_panic
jmp K_panic
jmp K_panic
jmp K_panic
jmp K_panic
jmp K_panic
jmp tc0_ovf ; Timer Counter 0 overflow - used for auto context switches.
jmp K_panic
jmp K_panic
jmp K_panic
jmp K_panic
jmp K_panic
jmp K_panic
jmp K_panic
jmp K_panic
jmp K_panic
jmp K_panic
jmp K_panic
jmp K_panic
jmp K_panic
jmp K_panic
jmp K_panic
jmp K_panic
jmp K_panic
jmp K_panic