NEC V850E/MS1 UPD703100 User Manual page 433

32-/16-bit single-chip microcontrollers
Table of Contents

Advertisement

(6) Condition codes
Condition Name
Condition Code
(cond)
(cccc)
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
APPENDIX B INSTRUCTION SET LIST
Condition Formula
OV = 1
OV = 0
CY = 1
CY = 0
Z = 1
Z = 0
(CY or Z) = 1
(CY or Z) = 0
S = 1
S = 0
SAT = 1
(S xor OV) = 1
(S xor OV) = 0
((S xor OV) or Z) = 1
((S xor OV) or Z) = 0
User's Manual U12688EJ4V0UM00
Explanation
Overflow
No overflow
Carry
Lower (Less than)
No carry
Not lower (Greater than or equal)
Zero
Equal
Not zero
Not equal
Not higher (Less than or equal)
Higher (Greater than)
Negative
Positive
Always (Unconditional)
Saturated
Less than signed
Greater than or equal signed
Less than or equal signed
Greater than signed
433

Advertisement

Table of Contents
loading

Table of Contents