EasyManuals Logo

Infineon TriCore TC1.6P User Manual

Infineon TriCore TC1.6P
484 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 #35 background imageLoading...
Page #35 background image
TriCore
®
TC1.6P & TC1.6E
32-bit Unified Processor Core
Instruction Set Overview
V1.0 2013-07
User Manual (Volume 2) 2-13
produce two extended Booleans. The EQ.H instruction results in two extended Booleans: FFFF
H
for a match and
0000
H
for no match. There are also abnormal packed-word compare instructions that compare two words in the
normal way, but produce a single extended Boolean. The EQ.W instruction results in the extended Boolean
FFFFFFFF
H
for match and 00000000
H
for no match.
Extended Booleans are useful as masks, which can be used by subsequent bit-wise logic operations. CLZ (Count
Leading Zeros) or CLO (Count Leading Ones) can also be used on the result to quickly find the position of the left-
most match. Figure 2-11 shows an example of the EQ.B instruction.
Figure 2-11 EQ.B Instruction Operation
2.6 Bit Operations
Instructions are provided that operate on single bits, denoted in the instruction mnemonic by the .T data type
modifier (for example, AND.T).
There are eight instructions for combinatorial logic functions with two inputs, eight instructions with three inputs,
and eight with two inputs and a shift.
2.6.1 Simple Bit Operations
The one-bit result of a two-input function (for example, AND.T) is stored in the least significant bit of the destination
data register, and the most significant 31-bits are set to zero. The source bits can be any bit of any data register.
This is illustrated in Figure 2-12. The available Boolean operations are:
•AND
•NAND
•OR
•NOR
•XOR
•XNOR
•ANDN
•ORN
TC1054C
A
D[a]
B C D E F G H
D[b]
A == E ? B == F ? C == G ? D == H ?
D[c]

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Infineon TriCore TC1.6P and is the answer not in the manual?

Infineon TriCore TC1.6P Specifications

General IconGeneral
BrandInfineon
ModelTriCore TC1.6P
CategoryMicrocontrollers
LanguageEnglish

Related product manuals