📄 rtvecs.asm
字号:
;***********************************************************************
; File name: rtvecs.asm
;
; Description: Reset and interrupt vector definition supporting realtime
; debugging mode
;
; Originator: Zhenyu Yu, Feb. 4, 2000
; Digital Control Systems Group
; Texas Instruments
;***********************************************************************
.include "c200mnrt.i" ; Include r/t monitor options
.mmregs ; Include def's of mmregs
;***********************************************************************
; External References
;***********************************************************************
.ref _c_int0 ; reset entry
.ref _c_int1 ; int level 1
.ref _c_int2 ; int level 2 (EV int group A)
.ref _c_int3 ; int level 3 (EV int group B)
.ref _c_int4 ; int level 4 (EV int group C)
.ref _c_int5 ; int level 5
.ref _c_int6 ; int level 6
.ref _c_nmi ; NMI
;***********************************************************************
; Reset and interrupt vectors
;***********************************************************************
.sect "vectors" ; Must be located at 0x0000@prog
RESET B _c_int0 ; PM 0 Reset Vector
INT1 B _c_int1 ; PM 2 Int level 1
INT2 B _c_int2 ; PM 4 Int level 2
INT3 B _c_int3 ; PM 6 Int level 3
INT4 B _c_int4 ; PM 8 Int level 4
INT5 B _c_int5 ; PM A Int level 5
INT6 B _c_int6 ; PM C Int level 6
.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 _c_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 + -