我这样做的目的是创建一个模块,其中每个中断向量都有空例程,或者陷阱和转储程序。这样,我就可以控制向量表的内容了。如果你错过了一个,编译器会把它指向一个重置例程,除非你在调试器中运行,否则它会被捕获到一个无用的例程。
以上来自于百度翻译
以下为原文
The way I got around this, was to create a module with EVERY SINGLE interrupt vector in it, with either null routines, or trap and dump routines. This way, I have control of the contents of the vector table. If you miss one, the compiler will point it to a reset routine, unless you are running in the debugger, when it will trap to a useless routine.
我这样做的目的是创建一个模块,其中每个中断向量都有空例程,或者陷阱和转储程序。这样,我就可以控制向量表的内容了。如果你错过了一个,编译器会把它指向一个重置例程,除非你在调试器中运行,否则它会被捕获到一个无用的例程。
以上来自于百度翻译
以下为原文
The way I got around this, was to create a module with EVERY SINGLE interrupt vector in it, with either null routines, or trap and dump routines. This way, I have control of the contents of the vector table. If you miss one, the compiler will point it to a reset routine, unless you are running in the debugger, when it will trap to a useless routine.
举报