Datasheet

V850ES/JG3 APPENDIX D INSTRUCTION SET LIST
R01UH0015EJ0300 Rev.3.00 Page 826 of 870
Sep 30, 2010
(5) Register symbols used in flag operations
Identifier Explanation
(Blank) No change
0 Clear to 0
X Set or cleared in accordance with the results.
R Previously saved values are restored.
(6) Condition codes
Condition Code
(cccc)
Condition Formula Explanation
0 0 0 0 OV = 1 Overflow
1 0 0 0 OV = 0 No overflow
0 0 0 1 CY = 1
Carry
Lower (Less than)
1 0 0 1 CY = 0
No carry
Not lower (Greater than or equal)
0 0 1 0 Z = 1 Zero
1 0 1 0 Z = 0 Not zero
0 0 1 1 (CY or Z) = 1 Not higher (Less than or equal)
1 0 1 1 (CY or Z) = 0 Higher (Greater than)
0 1 0 0 S = 1 Negative
1 1 0 0 S = 0 Positive
0 1 0 1
Always (Unconditional)
1 1 0 1 SAT = 1 Saturated
0 1 1 0 (S xor OV) = 1 Less than signed
1 1 1 0 (S xor OV) = 0 Greater than or equal signed
0 1 1 1 ((S xor OV) or Z) = 1 Less than or equal signed
1 1 1 1 ((S xor OV) or Z) = 0 Greater than signed