⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 intvects.s

📁 ucosii for zsp400
💻 S
字号:
   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! MODULE HEADER !!!!!!!!!
   !
   !  PROCESS NAME:  KERNEL
   !
   !
   !  FILENAME:   
   !
   !     INTVECTS.S
   !
   !  DESCRIPTION
   !  -----------
   !
   !     Contains ASM-level routines for the uC/OS-II port to LSI Logic
   !     ZSP.
   !
   !
   !     NB #1: The reason this file exists is that current ASM/LINK won't
   !        allow for more than one section in a single assembly file.
   !
   !  REVISION HISTORY
   !  ----------------
   !
   !  DATE        NAME        REASON/CHANGE ID
   !  ----        ----        ----------------
   !  05/10/01    S.Wright    ORG
   !
   !
   !
   !                                   Copyright LSI Logic, 2001
   !
   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

   .equ     ALIGN_MAJOR,8
   .equ     ALIGN_MINOR,2

   !   imports...

   .global  _OSCtxSw
   .global  _OSTickISR

   .section ".intvect", "ax"

   .walign ALIGN_MAJOR
int_rst:                   ! locates to 0x0000
   reti

   .walign ALIGN_MAJOR
int_nmi:                   ! locates to 0x0008
   br _OSCtxSw

   .walign ALIGN_MAJOR
int_dei:                   ! locates to 0x0010
   br -0x0800

   .walign ALIGN_MAJOR
int_hir:                   ! locates to 0x0018
   br -0x0800

   .walign ALIGN_MAJOR
int_hit:                   ! locates to 0x0020
   br -0x0800

   .walign ALIGN_MAJOR
int_s1r:                   ! locates to 0x0028
   br -0x0800

   .walign ALIGN_MAJOR
int_s1t:                   ! locates to 0x0030
   br -0x0800

   .walign ALIGN_MAJOR
int_s0r:                   ! locates to 0x0038
   br -0x0800

   .walign ALIGN_MAJOR
int_s0t:                   ! locates to 0x0040
   br -0x0800

   .walign ALIGN_MAJOR
int_dma:                   ! locates to 0x0048
   br -0x0800

   .walign ALIGN_MAJOR
int_t1:                    ! locates to 0x0050
   br _OSTickISR

   .walign ALIGN_MAJOR
int_t0:                    ! locates to 0x0058
   br -0x0800

   .walign ALIGN_MAJOR
int_ex4:                   ! locates to 0x0060
   br -0x0800

   .walign ALIGN_MAJOR
int_ex3:                   ! locates to 0x0068
   br -0x0800

   .walign ALIGN_MAJOR
int_ex2:                   ! locates to 0x0070
   br -0x0800

   .walign ALIGN_MAJOR
int_ex1:                   ! locates to 0x0078
   br -0x0800

   .walign ALIGN_MAJOR
int_ex0:                   ! locates to 0x0080
   br -0x0800

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -