Files that got left out - initial commits
[uccvend-snackrom.git] / ROM2 / vectors.s
1 /* M68HC11 Interrupt vectors table
2    Copyright (C) 1999 Free Software Foundation, Inc.
3    Written by Stephane Carrez ([email protected])    
4
5 This file is free software; you can redistribute it and/or modify it
6 under the terms of the GNU General Public License as published by the
7 Free Software Foundation; either version 2, or (at your option) any
8 later version.
9
10 In addition to the permissions in the GNU General Public License, the
11 Free Software Foundation gives you unlimited permission to link the
12 compiled version of this file with other programs, and to distribute
13 those programs without any restriction coming from the use of this
14 file.  (The General Public License restrictions do apply in other
15 respects; for example, they cover modification of the file, and
16 distribution when not linked into another program.)
17
18 This file is distributed in the hope that it will be useful, but
19 WITHOUT ANY WARRANTY; without even the implied warranty of
20 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
21 General Public License for more details.
22
23 You should have received a copy of the GNU General Public License
24 along with this program; see the file COPYING.  If not, write to
25 the Free Software Foundation, 59 Temple Place - Suite 330,
26 Boston, MA 02111-1307, USA.  */
27
28         .sect .text
29         .globl _start
30
31 ;; Default interrupt handler.
32         .sect .text
33 def:
34         rti
35
36         .globl _debug_user_vectors
37 _debug_user_vectors = 0
38
39 ;; 
40 ;; Interrupt vectors are in a specific section that is
41 ;; mapped at 0xffc0. 
42 ;;
43         .sect .vectors
44         .globl vectors
45 vectors:
46         .word def               ; ffc0
47         .word def               ; ffc2
48         .word def               ; ffc4
49         .word def               ; ffc6
50         .word def               ; ffc8
51         .word def               ; ffca
52         .word def               ; ffcc
53         .word def               ; ffce
54         .word def               ; ffd0
55         .word def               ; ffd2
56         .word def               ; ffd4
57
58         ;; SCI
59         .word def               ; ffd6
60
61         ;; SPI
62         .word def               ; ffd8
63         .word def               ; ffda (PAII)
64         .word def               ; ffdc (PAOVI)
65         .word def               ; ffde (TOI)
66
67         ;; Timer Output Compare
68         .word def               ; ffe0
69         .word def               ; ffe2
70         .word def               ; ffe4
71         .word def               ; ffe6
72         .word def               ; ffe8
73
74         ;; Timer Input compare
75         .word def               ; ffea
76         .word def               ; ffec
77         .word def               ; ffee
78
79         ;;  Misc
80         .word def               ; fff0 (RTII)
81         .word def       ; fff2 (IRQ)
82         .word def               ; fff4 (XIRQ)
83         .word def               ; fff6 (SWI)
84         .word def               ; fff8 (ILL)
85         .word def               ; fffa (COP Failure)
86         .word def               ; fffc (COP Clock monitor)
87         .word _start            ; fffe (reset)
88

UCC git Repository :: git.ucc.asn.au