📄 vectors.asm
字号:
;~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
;here, we will setup a vectors.asm
; updated:03/01/04
;author: wangqing jiang
;~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.global start
;.global adc_int1
.global PHANTOM
.sect "vectors"
rset: B start ;0000h rset
int1: B PHANTOM ;0002 INT1
int2: B PHANTOM ;0004 INT2
int3: B PHANTOM ;0006 INT3
int4: B PHANTOM ;0008 INT4
int5: B PHANTOM ;000A INT5
int6: B PHANTOM ;000C INT6
int7: B PHANTOM ;0Eh reserved
int8: B PHANTOM ;10h INT8 (software)
int9: B PHANTOM ;12h INT9 (software)
int10: B PHANTOM ;14h INT10 (software)
int11: B PHANTOM ;16h INT11 (software)
int12: B PHANTOM ;18h INT12 (software)
int13: B PHANTOM ;1Ah INT13 (software)
int14: B PHANTOM ;1Ch INT14 (software)
int15: B PHANTOM ;1Eh INT15 (software)
int16: B PHANTOM ;20h INT16 (software)
int17: B PHANTOM ;22h TRAP
int18: B PHANTOM ;24h NMI
int19: B PHANTOM ;26h reserved
int20: B PHANTOM ;28h INT20 (software)
int21: B PHANTOM ;2Ah INT21 (software)
int22: B PHANTOM ;2Ch INT22 (software)
int23: B PHANTOM ;2Eh INT23 (software)
int24: B PHANTOM ;30h INT24 (software)
int25: B PHANTOM ;32h INT25 (software)
int26: B PHANTOM ;34h INT26 (software)
int27: B PHANTOM ;36h INT27 (software)
int28: B PHANTOM ;38h INT28 (software)
int29: B PHANTOM ;3Ah INT29 (software)
int30: B PHANTOM ;3Ch INT30 (software)
int31: B PHANTOM ;3Eh INT31 (software)
.end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -