TC1784
Peripheral Control Processor (PCP)
User´s Manual
10-94
V1.1, 2011-05
PCP, V2.09
10.18.1.1 Conditional Codes
Many PCP instructions have the option of being executed conditionally. The condition
code of an instruction is the field that specifies the condition to be tested before the
instruction is executed. Depending on the type of instruction there are 8 or 16 condition
codes available. The set of 8-condition codes is referred to as CONDCA, while the set
of 16-condition codes is referred to as CONDCB. The condition codes are based on an
equation of the Flags held in R7. See
Table 33
Condition Codes
Description
CONDCA/B Test (Flag Bits)
Code Mnemonic
Unconditional
A / B
–
0
H
cc_UC
Zero/Equal
A / B
Z = 1
1
H
cc_Z
Not Zero/Not Equal
A / B
Z = 0
2
H
cc_NZ
Overflow
A / B
v = 1
3
H
cc_V
Carry/Unsigned Less Than/
Check Bit True
A / B
C = 1
4
H
cc_C,
cc_ULT
Unsigned Greater Than
A / B
C OR Z = 0
5
H
cc_UGT
Signed Less Than
A / B
N XOR V = 1
6
H
cc_SLT
Signed Greater Than
A / B
(N XOR V) OR
Z = 0
7
H
cc_SGT
Negative
B
N = 1
8
H
cc_N
Not Negative
B
N = 0
9
H
cc_NN
Not Overflow
B
V = 0
A
H
cc_NV
No Carry/Unsigned Greater
than or Equal
B
C = 0
B
H
cc_NC,
cc_UGE
Signed Greater Than or
Equal
B
N XOR V = 0
C
H
cc_SGE
Signed Less than or Equal
B
(N XOR V) OR
Z = 1
D
H
cc_SLE
CNT1 Equal Zero
B
CNZ1 = 1
E
H
cc_CNZ
CNT1 Not Equal Zero
B
CNZ1 = 0
F
H
cc_CNN
Содержание TC1784
Страница 1: ...User s Manual V1 1 2011 05 Microcontrollers TC1784 32 Bit Single Chip Microcontroller ...
Страница 3: ...User s Manual V1 1 2011 05 Microcontrollers TC1784 32 Bit Single Chip Microcontroller ...
Страница 950: ...TC1784 Direct Memory Access Controller DMA User s Manual 11 132 V1 1 2011 05 DMA V3 03 ...
Страница 1949: ...TC1784 General Purpose Timer Array GPTA v5 User s Manual 21 297 V1 1 2011 05 GPTA v5 V1 14 ...
Страница 2350: ...w w w i n f i n e o n c o m Published by Infineon Technologies AG Doc_Number ...