/* Copyright (C) 2001 Dmitry Diky This file is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. In addition to the permissions in the GNU General Public License, the author gives you unlimited permission to link the compiled version of this file into combinations with other programs, and to distribute those combinations without any restriction coming from the use of this file. (The General Public License restrictions do apply in other respects; for example, they cover modification of the file, and distribution when not linked into a combine executable.) This file is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. */ ;; -*- mode: asm -*- #include /*************************************************************** * Interrupt Vectors: * WARNING!!! All vectors must be defined here!!! * User may not define its interrupt service routines! ***************************************************************/ .weak _unexpected_ .global _unexpected_1_ .text .p2align 1,0 _unexpected_1_: br #_unexpected_ _unexpected_: reti .section .vectors, "ax", @progbits .macro VEC name .weak \name .set \name, _unexpected_1_ .word \name .endm .global InterruptVectors .type InterruptVectors, @object #if defined(__MSP430X__) .size InterruptVectors, 0x40 InterruptVectors: /* c0 */ VEC vector_ffc0 /* c2 */ VEC vector_ffc2 /* c4 */ VEC vector_ffc4 /* c6 */ VEC vector_ffc6 /* c8 */ VEC vector_ffc8 /* ca */ VEC vector_ffca /* cc */ VEC vector_ffcc /* ce */ VEC vector_ffce /* d0 */ VEC vector_ffd0 /* d2 */ VEC vector_ffd2 /* d4 */ VEC vector_ffd4 /* d6 */ VEC vector_ffd6 /* d8 */ VEC vector_ffd8 /* da */ VEC vector_ffda /* dc */ VEC vector_ffdc /* de */ VEC vector_ffde #else .size InterruptVectors, 0x20 InterruptVectors: #endif /* e0 */ VEC vector_ffe0 /* e2 */ VEC vector_ffe2 /* e4 */ VEC vector_ffe4 /* e6 */ VEC vector_ffe6 /* e8 */ VEC vector_ffe8 /* ea */ VEC vector_ffea /* ec */ VEC vector_ffec /* ee */ VEC vector_ffee /* f0 */ VEC vector_fff0 /* f2 */ VEC vector_fff2 /* f4 */ VEC vector_fff4 /* f6 */ VEC vector_fff6 /* f8 */ VEC vector_fff8 /* fa */ VEC vector_fffa /* fc */ VEC vector_fffc .word _reset_vector__ /* end of Interrupt vectors declarations */