首页|嵌入式系统|显示技术|模拟IC/电源|元件与制造|其他IC/制程|消费类电子|无线/通信|汽车电子|工业控制|医疗电子|测试测量
首页 > 分享下载 > 常用文档 > ARM指令执行条件汇编

ARM指令执行条件汇编

资料介绍
DSP/单片机
ARM 汇编指令条件执行详解
ALU 状态标志
CPSR 寄存器包含下面的 ALU 状态标志:
The CPSR contains the following ALU status flag:
N Set when the result of the operation was Negative.
Z Set when the result of the operation was Zeto.
C Set when the operation resulted in a Carry.
V Set when the operation caused Overflow.
Q ARM architecture v5E only.
执行条件
N,Z,C,V 相关的条件码后缀如下表所列:
Condition Code Summary
Code Suffix Flags Meaning
0000 EQ Z set equal (= =)
0001 NE Z clear not equal (! =)
0010 CS/HS C set unsigned higher or same (>=)unsigned
0011 CC/LO C clear unsigned lower (<) unsigned
0100 MI N set negative
0101 P……
ARM指令执行条件汇编
本地下载

评论