📄 mx21_vectors.s
字号:
;;**********************************************************************
;;
;; (C) COPYRIGHT 2004 FREESCALE, INC.
;; ALL RIGHTS RESERVED
;;
;;
;; 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:
LDR PC, Reset_Addr
LDR PC, Undefined_Addr
LDR PC, SWI_Addr
LDR PC, Prefetch_Addr
LDR PC, Abort_Addr
NOP ; Reserved vector
LDR PC, IRQ_Addr
LDR PC, FIQ_Addr
.extern mx21_Init
;; .extern __init_user
Reset_Addr .long mx21_Init
;;Reset_Addr .long __init_user
Undefined_Addr .long Undefined_Handler
SWI_Addr .long SWI_Handler
Prefetch_Addr .long Prefetch_Handler
Abort_Addr .long Abort_Handler
.long 0 ; Reserved vector
IRQ_Addr .long IRQ_Handler
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
B C_Undefined_Handler
SWI_Handler
B C_SWI_Handler
Prefetch_Handler
B C_Prefetch_Handler
Abort_Handler
B C_Abort_Handler
IRQ_Handler
B C_IRQ_Handler
FIQ_Handler
B C_FIQ_Handler
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -