Infineon Technologies C166S V2 User Manual page 207

16-bit microcontroller
Table of Contents

Advertisement

Data Types: This part specifies the particular data type according to the instruction.
Basically, the following data types are possible:
BIT, BYTE, WORD, DOUBLEWORD, ACC = 40-bit signed value
Only CoXXX instructions and instructions which extend byte data to word data can
change the data type. Note that the data types mentioned in this subsection do not cover
accesses to indirect address pointers or to the system stack. These accesses are always
performed with word data. Moreover, no data type is specified for System Control
Instructions and for those branch instructions which do not access any explicitly
addressed data.
• Description: This part provides a brief description of the action that is executed by
the respective instruction.
• Condition Code: The Condition code indicates that the respective instruction is
executed if the specified condition exists, and is skipped if it does not. The table below
summarizes the sixteen possible condition codes that can be used within Call and
Branch instructions. The table shows the abbreviations, the test that is executed for a
specific condition, and a 4/5-bit number associated with condition code.
Condition
Test
Code
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
User Manual
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 9
Unsigned greater than
8-207
Detailed Instruction Description
Condition
Code
Number
c
0
H
2
H
3
H
4
H
5
H
6
H
7
H
8
H
9
H
2
H
3
H
8
H
F
H
H
E
H
User Manual
C166S V2
Condition
Code
Number
d
0
H
4
H
6
H
8
H
A
H
C
H
E
H
10
H
12
H
4
H
6
H
10
H
1E
H
12
H
1C
H
V 1.7, 2001-01

Advertisement

Table of Contents
loading

Table of Contents