EasyManuals Logo

Infineon Technologies TC1796 User Manual

Infineon Technologies TC1796
2150 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #610 background imageLoading...
Page #610 background image
TC1796
System Units (Vol. 1 of 2)
Peripheral Control Processor (PCP)
User’s Manual 11-73 V2.0, 2007-07
PCP, V2.0
11.11.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 11-12.
Table 11-12 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
BC = 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

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Infineon Technologies TC1796 and is the answer not in the manual?

Infineon Technologies TC1796 Specifications

General IconGeneral
BrandInfineon Technologies
ModelTC1796
CategoryController
LanguageEnglish