interrupt_stubs.s51 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. /**************************************************************************************************
  2. Filename: zboot_interrupt_stubs.s51
  3. Revised: $Date: 2006-01-15 11:09:27 -0700 Sun, 15 Jan 2006) $
  4. Revision: $Revision: 9377 $
  5. Description: Describe the purpose and contents of the file.
  6. Copyright 2006-2007 Texas Instruments Incorporated. All rights reserved.
  7. IMPORTANT: Your use of this Software is limited to those specific rights
  8. granted under the terms of a software license agreement between the user
  9. who downloaded the software, his/her employer (which must be your employer)
  10. and Texas Instruments Incorporated (the "License"). You may not use this
  11. Software unless you agree to abide by the terms of the License. The License
  12. limits your use, and you acknowledge, that the Software may not be modified,
  13. copied or distributed unless embedded on a Texas Instruments microcontroller
  14. or used solely and exclusively in conjunction with a Texas Instruments radio
  15. frequency transceiver, which is integrated into your product. Other than for
  16. the foregoing purpose, you may not use, reproduce, copy, prepare derivative
  17. works of, modify, distribute, perform, display or sell this Software and/or
  18. its documentation for any purpose.
  19. YOU FURTHER ACKNOWLEDGE AND AGREE THAT THE SOFTWARE AND DOCUMENTATION ARE
  20. PROVIDED “AS IS” WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED,
  21. INCLUDING WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY, TITLE,
  22. NON-INFRINGEMENT AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL
  23. TEXAS INSTRUMENTS OR ITS LICENSORS BE LIABLE OR OBLIGATED UNDER CONTRACT,
  24. NEGLIGENCE, STRICT LIABILITY, CONTRIBUTION, BREACH OF WARRANTY, OR OTHER
  25. LEGAL EQUITABLE THEORY ANY DIRECT OR INDIRECT DAMAGES OR EXPENSES
  26. INCLUDING BUT NOT LIMITED TO ANY INCIDENTAL, SPECIAL, INDIRECT, PUNITIVE
  27. OR CONSEQUENTIAL DAMAGES, LOST PROFITS OR LOST DATA, COST OF PROCUREMENT
  28. OF SUBSTITUTE GOODS, TECHNOLOGY, SERVICES, OR ANY CLAIMS BY THIRD PARTIES
  29. (INCLUDING BUT NOT LIMITED TO ANY DEFENSE THEREOF), OR OTHER SIMILAR COSTS.
  30. Should you have any questions regarding your right to use this Software,
  31. contact Texas Instruments Incorporated at www.TI.com.
  32. **************************************************************************************************/
  33. OFFSET EQU 0x800
  34. COMMON INTVEC(1)
  35. ;
  36. ; the interrupt vectors in the boot code simply jump to the user's LJMP
  37. ; instruction based at the known offset of 0x800 (flash page 1).
  38. ;
  39. ; the boot code does not use interrupts.
  40. ORG 0x0003 ; RF Tx FIFO underflow and overflow
  41. LJMP $ + OFFSET
  42. ORG 0x000B ; ADC end of conversion
  43. LJMP $ + OFFSET
  44. ORG 0x0013 ; USART0 Rx complete
  45. LJMP $ + OFFSET
  46. ORG 0x001B ; USART1 Rx complete
  47. LJMP $ + OFFSET
  48. ORG 0x0023 ; AES encryption/decryption complete
  49. LJMP $ + OFFSET
  50. ORG 0x002B ; Sleep timer compare
  51. LJMP $ + OFFSET
  52. ORG 0x0033 ; Port 2 inputs
  53. LJMP $ + OFFSET
  54. ORG 0x003B ; USART0 Tx complete
  55. LJMP $ + OFFSET
  56. ORG 0x0043 ; DMA transfer complete
  57. LJMP $ + OFFSET
  58. ORG 0x004B ; Timer 1 (16-bit) capture/compare/overflow
  59. LJMP $ + OFFSET
  60. ORG 0x0053 ; Timer 2 (MAC timer)
  61. LJMP $ + OFFSET
  62. ORG 0x005B ; Timer 3 (8-bit) capture/compare/overflow
  63. LJMP $ + OFFSET
  64. ORG 0x0063 ; Timer 4 (8-bit) capture/compare/overflow
  65. LJMP $ + OFFSET
  66. ORG 0x006B ; Port 0 inputs
  67. LJMP $ + OFFSET
  68. ORG 0x0073 ; USART1 Tx complete
  69. LJMP $ + OFFSET
  70. ORG 0x007B ; Port 1 inputs
  71. LJMP $ + OFFSET
  72. ORG 0x0083 ; RF general interrupts
  73. LJMP $ + OFFSET
  74. ORG 0x008B ; Watchdog overflow in timer mode
  75. LJMP $ + OFFSET
  76. END