在使用CodeWarrior建立了MCF52259工程以后,系统会生成一个exceptions.c文件,冷火的中断向量表就在这个文件中。
中断向量表如下所示:
/* Interrupt vector table */
__declspec(vectortable) vectorTableEntryType _vect[256] =
{ (vectorTableEntryType)__SP_AFTER_RESET, /* 0 (0x000) Initial supervisor SP */_startup, /* 1 (0x004) Initial PC */asm_exception_handler, /* 2 (0x008) Access Error */asm_exception_handler, /* 3 (0x00C) Address Error */asm_exception_handler, /* 4 (0x010) Illegal Instruction */........................................asm_exception_handler, /* 252 (0x___) Reserved */asm_exception_handler, /* 253 (0x___) Reserved */asm_exception_handler, /* 254 (0x___) Reserved */asm_exception_handler, /* 255 (0x___) Reserved */
};
</
本文发布于:2024-02-04 08:30:20,感谢您对本站的认可!
本文链接:https://www.4u4v.net/it/170703148053973.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
留言与评论(共有 0 条评论) |