📄 c200vecs.asm
字号:
;*H*************************************************************************
; TI Proprietary Information - Internal Data
; Copyright (c) 1993-1999, Texas Instruments Incorporated
; All rights reserved
;***************************************************************************
;***************************************************************************
;
; DESCRIPTION:
;
; Truely unusual monitor vector table
; for C25LP HLL Real-Time Debugger.
;
; This real-time monitor was developed by H.Roland Hoar.
;
; STATUS:
;
; This monitor version is dated 24th of June 1997.
; It is intended for use with HLL Debugger versions "1.19" or later.
; The MON_RELEASE mnemonic has the hexadecimal value '1019'.
;
; This document has page feed characters spaced for 66 lines per page.
; Its page alignment is adjusted to ensure
; attractive two-page-per-sheet printing.
;
;***************************************************************************
;
.title "Example vectors table for C25LP HLL Real-Time Debugger."
.include "c200mnrt.i" ; Include conditional assembly options.
.mmregs ; Include standard register mnemonics.
.length 66 ; Set the page length for the listing.
;
;***************************************************************************
; GLOBAL DECLARATIONS
;***************************************************************************
.global USER_CODE,
.global INT1_ISR, INT2_ISR, INT3_ISR
.global INT4_ISR, INT5_ISR, INT6_ISR
;
;***************************************************************************
; This is the vectors table, to be located at 0x0000@prog.
;***************************************************************************
.sect "vectors"
;
;RESET B RESET ; 00
RESET B USER_CODE ; 00
INT1 B INT1_ISR,*,AR7 ; 02
INT2 B INT2_ISR,*,AR7 ; 04
INT3 B INT3_ISR,*,AR7 ; 06
INT4 B INT4_ISR,*,AR7 ; 08
INT5 B INT5_ISR,*,AR7 ; 0A
INT6 B INT6_ISR,*,AR7 ; 0C
;
.if (MON_VECTOR == MON_VECTOR_MACRO)
; macro occupies fourteen words in the vector table.
MON_EINTR mon_eintr_vecs ; 0E
; 10
; 12
; 14
; 16
; 18
; 1A
.else ; (MON_VECTOR == MON_VECTOR_BRANCH)
; branch used instead of macro in the vector table.
MON_EINTR_B B MON_EINTR ; 0E
HUNG10 B HUNG10 ; 10
HUNG12 B HUNG12 ; 12
HUNG14 B HUNG14 ; 14
HUNG16 B HUNG16 ; 16
HUNG18 B HUNG18 ; 18
HUNG1A B HUNG1A ; 1A
.endif; (MON_VECTOR == ?)
;
HUNG1C B HUNG1C ; 1C
HUNG1E B HUNG1E ; 1E
HUNG20 B HUNG20 ; 20
TRAP B TRAP ; 22
NMI B NMI ; 24
;
.if (MON_VECTOR == MON_VECTOR_MACRO)
; macro occupies eight words in the vector table.
MON_ETRAP mon_etrap_vecs ; 26
; 28
; 2A
; 2C
.else ; (MON_VECTOR == MON_VECTOR_BRANCH)
; branch used instead of macro in the vector table.
MON_ETRAP_B B MON_ETRAP ; 26
HUNG28 B HUNG28 ; 28
HUNG2A B HUNG2A ; 2A
HUNG2C B HUNG2C ; 2C
.endif; (MON_VECTOR == ?)
;
HUNG2E B HUNG2E ; 2E
HUNG30 B HUNG30 ; 30
HUNG32 B HUNG32 ; 32
HUNG34 B HUNG34 ; 34
HUNG36 B HUNG36 ; 36
HUNG38 B HUNG38 ; 38
HUNG3A B HUNG3A ; 3A
HUNG3C B HUNG3C ; 3C
HUNG3E B HUNG3E ; 3E
;
.end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -