全部博文(28)
分类:
2008-11-05 08:06:38
Exception
|
Description
|
Reset
|
复位中断,中断向量在0x0000处
|
Undefined Instruction
|
un-recognized executing instruction
|
Software Interrupt(SWI)
|
用户中断,提供了在用户模式下请求执行监控模式功能的方法,例如调用RTOS function
|
Prefetch Abort
|
用于地址非法,导致了处理器不能执行取址
|
Data Abort
|
到数据传输时,load或store地址非法
|
IRQ
|
外部中断发生(低电平有效)
|
FIQ
|
Fast Interrupt Requset发生(低电平有效)
|
Vector address
|
Exception type
|
Exception mode
|
Priority(1=H, 6=Low)
|
0x0
|
Reset
|
Supervisor(SVC)
|
1
|
0x4
|
Undefined Instruction
|
Undef
|
6
|
0x8
|
Software Interrupt(SWI)
|
Supervisor(SVC)
|
6
|
0xC
|
Prefetch Abort
|
Abort
|
5
|
0x10
|
Data Abort
|
Abort
|
2
|
0x14
|
Reserved
|
Not application
|
Not application
|
0x18
|
Interrupt(IRQ)
|
Interrupt(IRQ)
|
4
|
0x1C
|
Fast Interrupt(FIQ)
|
Fast Interrupt(FIQ)
|
3
|
处理器模式
|
说明
|
Visible Thumb state registers
|
Visible ARM state registers
|
User用户
|
正常程序执行模式
|
R7..R0, LR, SP, PC, CPSR
|
R14..R0, PC, CPSR
|
FIQ
|
支持高速数据传送或通道处理
|
R7..R0,LR_fiq, SP_fiq,
PC, CPSR, SPSR_fiq
|
R7..R0, R14_fiq..R8_fiq,
PC, CPSR, SPSR_fiq
|
IRQ
|
通用中断处理
|
R7..R0,LR_irq, SP_irq,
PC, CPSR, SPSR_irq
|
R12..R0,R14_irq, R13_irq, PC, CPSR, SPSR_irq
|
Supervisor(svc)
|
操作系统保护模式
|
R7..R0,LR_svc, SP_svc, PC,
CPSR, SPSR_svc
|
R12..R0, R14_svc,R13_svc
PC, CPSR, SPSR_svc
|
Abort
|
实现虚拟存储/存储器保护
|
R7..R0,LR_abt, SP_abt, PC,
CPSR, SPSR_abt
|
R12..R0,R14_abt, R13_abt, PC, CPSR, SPSR_abt
|
Undefined
|
支持硬件辅助计算器的软件仿真
|
R7..R0,LR_und, SP_und,
PC, CPSR, SPSR_und
|
R12..R0,R14_und, R13_und, PC, CPSR
|
System
|
执行操作系统工作
|
R7..R0,LR, SP, PC, CPSR
|
R14..R0, PC, CPSR
|