NEC UPD703116 User Manual page 805

32-bit single-chip microcontrollers
Table of Contents

Advertisement

(5) Symbols used in flag operations
Symbol
(Blank)
0
×
R
(6) Condition codes
Condition Name
(cond)
V
NV
C/L
NC/NL
Z/E
NZ/NE
NH
H
N
P
T
SA
LT
GE
LE
GT
APPENDIX C INSTRUCTION SET LIST
No change
Clear to 0.
Set or cleared according to result.
Previously saved value is restored.
Condition Code
(cccc)
0000
1000
0001
1001
0010
1010
0011
1011
0100
1100
0101
1101
0110
1110
0111
1111
User's Manual U14492EJ5V0UD
Explanation
Condition Expression
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
Explanation
Overflow
No overflow
Carry
Lower (Less than)
No carry
No 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
805

Advertisement

Table of Contents
loading

Table of Contents