中断向量不能编译?
时间:10-02
整理:3721RD
点击:
程序编译可以通过,但是连接后就会出现一大堆错误,而且全部是中断向量表的错误,如下:Reset_VEC B _cy_begin
\"pwm_generate_vec.asm\", line 7: AN IDENTIFIER IN THE EXPRESSION IS INVALID
INT1 B PHANTOM
\"pwm_generate_vec.asm\", line 8: AN IDENTIFIER IN THE EXPRESSION IS INVALID
INT2 B GISR2
\"pwm_generate_vec.asm\", line 9: AN IDENTIFIER IN THE EXPRESSION IS INVALID
INT3 B PHANTOM
\"pwm_generate_vec.asm\", line 10: AN IDENTIFIER IN THE EXPRESSION IS INVALID
INT4 B PHANTOM
\"pwm_generate_vec.asm\", line 11: AN IDENTIFIER IN THE EXPRESSION IS INVALID
INT5 B PHANTOM
\"pwm_generate_vec.asm\", line 12: AN IDENTIFIER IN THE EXPRESSION IS INVALID
。。。。。。。。
不知道怎么回事啊,请高手指点!
_cy_begin用于初始化,_PHANTOM用于复位看门狗,GISR2 是中断
你用的是汇编还是C?
把你的程序和向量表文件贴出来看看.