摘要
异常响应是嵌入式系统必须具备的一种程序处理模式,基于ARM的体系结构以及多种异常的存在,ARM异常响应的处理不得不考虑存储模式、返回地址、中断向量、堆栈空间以及处理器的状态等多方面的问题,本文从使用的角度较为全面地分析了ARM的异常处理机制,并以ARM7内核的LPC2200芯片为例介绍了具体程序的编写。
Handling exception is an necessary program executing mode for embedded system. Based on ARM's architecture and existence of kinds of exception, many problems must be take into account when dealing with exception, such as the memory mode, return address, interrupt vectors, stack space and processor status and so on. The mechanism of handling ARM processor exception is analyzed in this paper from the point of view of application, and program examples based on ARM7 core chip LPC2200 are given.
出处
《燕山大学学报》
CAS
2006年第4期313-316,共4页
Journal of Yanshan University