vect.s
上传用户:jndfzc
上传日期:2014-06-02
资源大小:325k
文件大小:3k
源码类别:

单片机开发

开发平台:

Others

  1. AREA Vect, CODE, READONLY
  2. ENTRY
  3. b Reset_Handler
  4. ldr pc, Undefined_Addr
  5. ldr pc, SWIRQ_Addr
  6. ldr pc, Prefetch_Addr
  7. ldr pc, Abort_Addr
  8. nop
  9. ldr pc, [pc,#-0xF20] ;// IRQ_Addr
  10. ldr pc, [pc,#-0xf20] ;// FIQ_Addr
  11. IMPORT Reset_Handler
  12. Reset_Addr DCD Reset_Handler
  13. Undefined_Addr DCD Undefined_Handler
  14. SWIRQ_Addr DCD SWIRQ_Handler
  15. Prefetch_Addr DCD Prefetch_Handler
  16. Abort_Addr DCD Abort_Handler
  17. nop
  18. EXPORT Undefined_Handler
  19. EXPORT Prefetch_Handler
  20. EXPORT Abort_Handler
  21. EXPORT FIQ_Handler
  22. EXPORT SWIRQ_Handler
  23. EXPORT US0IRQ_Handler
  24. EXPORT US1IRQ_Handler
  25. EXPORT TC0IRQ_Handler
  26. EXPORT TC1IRQ_Handler
  27. EXPORT TC2IRQ_Handler
  28. EXPORT WDIRQ_Handler
  29. EXPORT PIOIRQ_Handler
  30. EXPORT IRQ0IRQ_Handler
  31. EXPORT IRQ1IRQ_Handler
  32. EXPORT IRQ2IRQ_Handler
  33. IMPORT C_Undefined_Handler
  34. IMPORT C_Prefetch_Handler
  35. IMPORT C_Abort_Handler
  36. IMPORT C_FIQ_Handler
  37. IMPORT C_SWIRQ_Handler
  38. IMPORT C_US0IRQ_Handler
  39. IMPORT C_US1IRQ_Handler
  40. IMPORT C_TC0IRQ_Handler
  41. IMPORT C_TC1IRQ_Handler
  42. IMPORT C_TC2IRQ_Handler
  43. IMPORT C_WDIRQ_Handler
  44. IMPORT C_PIOIRQ_Handler
  45. IMPORT C_IRQ0IRQ_Handler
  46. IMPORT C_IRQ1IRQ_Handler
  47. IMPORT C_IRQ2IRQ_Handler
  48. Undefined_Handler
  49. stmfd sp!,{r0-r12,lr}
  50. sub r0, lr, #0x4
  51. bl C_Undefined_Handler
  52. ldmfd sp!,{r0-r12,pc}^
  53. Prefetch_Handler
  54. stmfd sp!,{r0-r12,lr}
  55. bl C_Prefetch_Handler
  56. ldmfd sp!,{r0-r12,pc}^
  57. Abort_Handler
  58. stmfd sp!,{r0-r12,lr}
  59. bl C_Abort_Handler
  60. ldmfd sp!,{r0-r12,pc}^
  61. FIQ_Handler
  62. stmfd sp!,{r0-r12,lr}
  63. bl C_FIQ_Handler
  64. ldmfd sp!,{r0-r12,pc}^
  65. SWIRQ_Handler
  66. stmfd sp!,{r0-r12,lr}
  67. bl C_SWIRQ_Handler
  68. ldmfd sp!,{r0-r12,pc}^
  69. US0IRQ_Handler
  70. stmfd sp!,{r0-r12,lr}
  71. bl C_US0IRQ_Handler
  72. ldmfd sp!, {r0-r12, lr}
  73. subs pc, lr, #4
  74. US1IRQ_Handler
  75. stmfd sp!,{r0-r12,lr}
  76. bl C_US1IRQ_Handler
  77. ldmfd sp!, {r0-r12, lr}
  78. subs pc, lr, #4
  79. TC0IRQ_Handler
  80. stmfd sp!,{r0-r12,lr}
  81. bl C_TC0IRQ_Handler
  82. ldmfd sp!, {r0-r12, lr}
  83. subs pc, lr, #4
  84. TC1IRQ_Handler
  85. stmfd sp!,{r0-r12,lr}
  86. bl C_TC1IRQ_Handler
  87. ldmfd sp!, {r0-r12, lr}
  88. subs pc, lr, #4
  89. TC2IRQ_Handler
  90. stmfd sp!,{r0-r12,lr}
  91. bl C_TC2IRQ_Handler
  92. ldmfd sp!, {r0-r12, lr}
  93. subs pc, lr, #4
  94. WDIRQ_Handler
  95. stmfd sp!,{r0-r12,lr}
  96. bl C_WDIRQ_Handler
  97. ldmfd sp!, {r0-r12, lr}
  98. subs pc, lr, #4
  99. PIOIRQ_Handler
  100. stmfd sp!,{r0-r12,lr}
  101. bl C_PIOIRQ_Handler
  102. ldmfd sp!, {r0-r12, lr}
  103. subs pc, lr, #4
  104. IRQ0IRQ_Handler
  105. stmfd sp!,{r0-r12,lr}
  106. bl C_IRQ0IRQ_Handler
  107. ldmfd sp!, {r0-r12, lr}
  108. subs pc, lr, #4
  109. IRQ1IRQ_Handler
  110. stmfd sp!,{r0-r12,lr}
  111. bl C_IRQ1IRQ_Handler
  112. ldmfd sp!, {r0-r12, lr}
  113. subs pc, lr, #4
  114. IRQ2IRQ_Handler
  115. stmfd sp!,{r0-r12,lr}
  116. bl C_IRQ2IRQ_Handler
  117. ldmfd sp!, {r0-r12, lr}
  118. subs pc, lr, #4
  119. END