English
Language : 

M166 Datasheet, PDF (28/127 Pages) Siemens Semiconductor Group – C16x Family of Siemens 16-Bit CMOS Single-Chip Microcontrollers
30Mar98@15:00h
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 Test
Mnemonic cc
cc_UC
1=1
cc_Z
Z=1
cc_NZ
Z=0
cc_V
V=1
cc_NV
V=0
cc_N
N=1
cc_NN
N=0
cc_C
C=1
cc_NC
C=0
cc_EQ
Z=1
cc_NE
Z=0
cc_ULT
C=1
cc_ULE
(Z∨C) = 1
cc_UGE
C=0
cc_UGT
(Z∨C) = 0
cc_SLT
(N⊕V) = 1
cc_SLE
(Z∨(N⊕V)) = 1
cc_SGE
(N⊕V) = 0
cc_SGT
(Z∨(N⊕V)) = 0
cc_NET
(Z∨E) = 0
Description
Unconditional
Zero
Not zero
Overflow
No overflow
Negative
Not negative
Carry
No carry
Equal
Not equal
Unsigned less than
Unsigned less than or equal
Unsigned greater than or equal
Unsigned greater than
Signed less than
Signed less than or equal
Signed greater than or equal
Signed greater than
Not equal AND not end of table
Condition Code
Number c
0H
2H
3H
4H
5H
6H
7H
8H
9H
2H
3H
8H
FH
9H
EH
CH
BH
DH
AH
1H
Semiconductor Group
28
Version 1.2, 12.97