
30Mar98@15:00h
Semiconductor Group
28
Version 1.2, 12.97
C166 Family Instruction Set
Instruction Description
•Description• This part provides a brief verbal description of the action that is executed by the
respective instruction.
•Condition Code• This notifies that the respective instruction contains a condition code, so it is
executed, if the specified condition is true, and is skipped, if it is false. The table below summarizes
the 16 possible condition codes that can be used within Call and Branch instructions. The table
shows the mnemonic abbreviations, the test that is executed for a specific condition and the internal
representation by a 4-bit number.
Condition Code
Mnemonic cc
Test
Description
Condition Code
Number c
cc_UC
1 = 1
Unconditional
0
H
cc_Z
Z = 1
Zero
2
H
cc_NZ
Z = 0
Not zero
3
H
cc_V
V = 1
Overflow
4
H
cc_NV
V = 0
No overflow
5
H
cc_N
N = 1
Negative
6
H
cc_NN
N = 0
Not negative
7
H
cc_C
C = 1
Carry
8
H
cc_NC
C = 0
No carry
9
H
cc_EQ
Z = 1
Equal
2
H
cc_NE
Z = 0
Not equal
3
H
cc_ULT
C = 1
Unsigned less than
8
H
cc_ULE
(Z
∨
C) = 1
Unsigned less than or equal
F
H
cc_UGE
C = 0
Unsigned greater than or equal
9
H
cc_UGT
(Z
∨
C) = 0
Unsigned greater than
E
H
cc_SLT
(N
⊕
V) = 1
Signed less than
C
H
cc_SLE
(Z
∨
(N
⊕
V)) = 1
Signed less than or equal
B
H
cc_SGE
(N
⊕
V) = 0
Signed greater than or equal
D
H
cc_SGT
(Z
∨
(N
⊕
V)) = 0
Signed greater than
A
H
cc_NET
(Z
∨
E) = 0
Not equal AND not end of table
1
H