📄 mx21_vectors.s.list
字号:
;;**********************************************************************
;;
;; (C) COPYRIGHT 2004 FREESCALE, INC.
;; ALL RIGHTS RESERVED
;;
;; THIS IS PROPRIETARY SOURCE CODE OF FREESCALE, INC.
;; The copyright notice above does not evidence any actual or
;; intended publication of such source code
;;
;; Freescale Confidential Proprietary
;;
;;
;; Group/Division: WMSG/MMDO
;;
;; Description:
;; Interrupt vector setup file created for
;; the Metrowerks assembler
;;
;; Related Specifications:
;;
;; Errata:
;;
;; File Name: MX21_PageTable.s
;; Revision Number: 0.1
;; Author(s): Sharad Kumar
;; Date created: 30Apr2004
;; Revision History:
;; Date Rev Description
;; ---- --- -----------
;; 30Apr04 0.1 First draft
;;
;;*********************************************************************/
.section vectors
.global Vector_Init_Block
; Note: LDR PC instructions are used here because branch (B) instructions
; could not simply be copied (the branch offsets would be wrong). Also,
; a branch instruction might not reach if the ROM is at an address >32MB).
Vector_Init_Block
0x00000000: 18f09fe5 ldr PC, Reset_Addr
0x00000004: 18f09fe5 ldr PC, Undefined_Addr
0x00000008: 18f09fe5 ldr PC, SWI_Addr
0x0000000c: 18f09fe5 ldr PC, Prefetch_Addr
0x00000010: 18f09fe5 ldr PC, Abort_Addr
0x00000014: 0000a0e1 nop ; Reserved vector
0x00000018: 18f09fe5 ldr PC, IRQ_Addr
0x0000001c: 18f09fe5 ldr PC, FIQ_Addr
;;IMPORT Reset_Handler
.extern mx21_Init
0x00000020: 00000000 Reset_Addr .long mx21_Init
0x00000024: 00000000 Undefined_Addr .long Undefined_Handler
0x00000028: 00000000 SWI_Addr .long SWI_Handler
0x0000002c: 00000000 Prefetch_Addr .long Prefetch_Handler
0x00000030: 00000000 Abort_Addr .long Abort_Handler
0x00000034: 00000000 .long 0 ; Reserved vector
0x00000038: 00000000 IRQ_Addr .long IRQ_Handler
0x0000003c: 00000000 FIQ_Addr .long FIQ_Handler
; ************************
; Exception Handlers
; ************************
.extern C_Undefined_Handler
.extern C_SWI_Handler
.extern C_Prefetch_Handler
.extern C_Abort_Handler
.extern C_IRQ_Handler
.extern C_FIQ_Handler
Undefined_Handler
0x00000040: feffffea b C_Undefined_Handler
SWI_Handler
0x00000044: feffffea b C_SWI_Handler
Prefetch_Handler
0x00000048: feffffea b C_Prefetch_Handler
Abort_Handler
0x0000004c: feffffea b C_Abort_Handler
IRQ_Handler
0x00000050: feffffea b C_IRQ_Handler
FIQ_Handler
0x00000054: feffffea b C_FIQ_Handler
.end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -