S3C2410A 中文数据手册(第二章) 杭州立宇泰电子有限公司编著(Version 1.0)
杭州立宇泰电子有限公司 http://www.hzlitai.com.cn
电话:0571-89902166 85867313 Email:lyt_tech@yahoo.com.cn
第 1 页 共 14 页
第二章 处理器工作模式
2.1 概述................................................................................................................................................2
2.2 处理工作状态................................................................................................................................2
2.3 切换状态........................................................................................................................................2
存储空间的格式
..............................................................................................................................2
大端格式:
......................................................................................................................................2
2.4 指令长度........................................................................................................................................3
数据类型
..........................................................................................................................................3
2.5 操作模式........................................................................................................................................4
2.6 寄存器............................................................................................................................................4
ARM
状态寄存器
............................................................................................................................4
THUMB
状态寄存器
.......................................................................................................................5
ARM
和
THUMB
状态寄存器间的关系:
.....................................................................................6
在
THUMB
状态下访问高地址寄存器
:.........................................................................................7
2.7 程序寄存器状态............................................................................................................................7
2.7.1
条件码标志
.............................................................................................................................8
2.7.2
控制位
.....................................................................................................................................8
2.8 异常................................................................................................................................................9
2.8.1
进入异常时的行为
.................................................................................................................9
2.8.2
离开异常处理时的行为
.......................................................................................................10
2.8.3
异常进入
/
退出的总结
..........................................................................................................10
2.8.4 FIQ
中断
...............................................................................................................................10
2.8.5 IRQ
中断
...............................................................................................................................11
2.8.6 Abort
异常中止
.....................................................................................................................11
2.8.7
软件中断
...............................................................................................................................12
2.8.8
未定义指令
...........................................................................................................................12
2.8.9
异常中断向量
.......................................................................................................................12
2.8.10
异常中断优先级
.................................................................................................................13
2.8.11
中断反应时间
.....................................................................................................................13
2.8.12
复位
.....................................................................................................................................14