The condition flags and Condition code suffixes (arm)
2015-09-08 15:16
411 查看
N
Set to 1 when the result of the operation was negative, cleared to 0 otherwise.
Z
Set to 1 when the result of the operation was zero, cleared to 0 otherwise.
C
Set to 1 when the operation resulted in a carry, cleared to 0 otherwise.
V
Set to 1 when the operation caused overflow, cleared to 0 otherwise.
For more information about the APSR see Program Status
Register.
Condition code suffixes
来源: <http://infocenter.arm.com/help/topic/com.arm.doc.dui0552a/BABEHFEF.html>
Set to 1 when the result of the operation was negative, cleared to 0 otherwise.
Z
Set to 1 when the result of the operation was zero, cleared to 0 otherwise.
C
Set to 1 when the operation resulted in a carry, cleared to 0 otherwise.
V
Set to 1 when the operation caused overflow, cleared to 0 otherwise.
For more information about the APSR see Program Status
Register.
Condition code suffixes
Suffix | Flags | Meaning |
---|---|---|
EQ | Z = 1 | Equal |
NE | Z = 0 | Not equal |
CS or HS | C = 1 | Higher or same, unsigned |
CC or LO | C = 0 | Lower, unsigned |
MI | N = 1 | Negative |
PL | N = 0 | Positive or zero |
VS | V = 1 | Overflow |
VC | V = 0 | No overflow |
HI | C = 1 and Z = 0 | Higher, unsigned |
LS | C = 0 or Z = 1 | Lower or same, unsigned |
GE | N = V | Greater than or equal, signed |
LT | N != V | Less than, signed |
GT | Z = 0 and N = V | Greater than, signed |
LE | Z = 1 and N != V | Less than or equal, signed |
AL | Can have any value | Always. This is the default when no suffix is specified. |
相关文章推荐
- MySQL Index Condition Pushdown(ICP)性能优化方法实例
- Python多线程编程(七):使用Condition实现复杂同步
- Java多线程学习——Condition的使用
- ant——condition
- java基础——多线程(锁lock&&条件阻塞Condition)
- 黑马程序员-------线程(下)
- The condition flags and Condition code suffixes (arm)
- The condition flags and Condition code suffixes (arm)
- The condition flags and Condition code suffixes (arm)
- 生产者-消费者模式 系列 之二 ReentrantLock, Condition 篇
- 【Java并发编程】之二十:并发新特性—Lock锁和条件变量(含代码)
- Java多线程(九)之ReentrantLock与Condition
- java Condition源码分析
- Java HashMap的死循环(race condition)
- Condition.await, signal 与 Object.wait, notify 的区别
- Lock&Condition实现线程同步通信
- Java并发编程初级篇(十六):Lock+Condition实现生产者消费者问题
- 并发编程的艺术-读书笔记-第五章锁实现
- 线程间协作的两种方式:wait、notify、notifyAll和Condition
- Java并发编程—Condition实现生产者与消费者