谢谢大家,我用的是18F45k80,boot里面开了中断,然后使用
asm ("psect intcode,global,reloc=2,class=CODE,delta=1");
asm ("GOTO " str(NEW_INTERRUPT_VECTOR_HIGH));
asm ("psect intcodelo,global,reloc=2,class=CODE,delta=1");
asm ("GOTO " str(NEW_INTERRUPT_VECTOR_LOW));
报错误:
:0:: error: (596) segment "intcode" (8-875) overlaps segment "intcodelo" (18-1F)
|