NEC V850E/RS1 User Manual page 837

32-/16-bit single-chip microcontroller with can interface
Table of Contents

Advertisement

(e) Register symbols used in flag operations
(f) Condition codes
Downloaded from
Elcodis.com
electronic components distributor
Appendix A
Identifier
(Blank)
No change
0
Clear to 0
X
Set or cleared in accordance with the results.
R
Previously saved values are restored.
Condition
Condition Code
Name
(cccc)
(cond)
V
0 0 0 0
NV
1 0 0 0
C/L
0 0 0 1
NC/NL
1 0 0 1
Z/E
0 0 1 0
NZ/NE
1 0 1 0
NH
0 0 1 1
H
1 0 1 1
N
0 1 0 0
P
1 1 0 0
T
0 1 0 1
SA
1 1 0 1
LT
0 1 1 0
GE
1 1 1 0
LE
0 1 1 1
GT
1 1 1 1
User's Manual U16702EE3V2UD00
Instruction Set List
Explanation
Condition Formula
OV = 1
Overflow
OV = 0
No overflow
Carry
CY = 1
Lower (Less than)
No carry
CY = 0
Not lower (Greater than or equal)
Zero
Z = 1
Equal
Not zero
Z = 0
Not equal
(CY or Z) = 1
Not higher (Less than or equal)
(CY or Z) = 0
Higher (Greater than)
S = 1
Negative
S = 0
Positive
Always (Unconditional)
SAT = 1
Saturated
(S xor OV) = 1
Less than signed
(S xor OV) = 0
Greater than or equal signed
((S xor OV) or Z) = 1
Less than or equal signed
((S xor OV) or Z) = 0
Greater than signed
Explanation
837

Advertisement

Table of Contents
loading

Table of Contents